code: def get_magnitude_of_effect_from_species(self, species, spin_state, motif):
          
  
          magnitude = "none"
  
          sp = get_el_sp(species)
  
          # has to be Specie; we need to know the oxidation state
          if isinstance(sp, Specie) and sp.element.is_transition_metal:
  
              d_electrons = self._get_number_of_d_electrons(sp)
  
              if motif in self.spin_configs:
                  if spin_state not in self.spin_configs[motif][d_electrons]:
                      spin_state = self.spin_configs[motif][d_electrons]['default']
                  spin_config = self.spin_configs[motif][d_electrons][spin_state]
                  magnitude = JahnTellerAnalyzer.get_magnitude_of_effect_from_spin_config(motif,
                                                                                          spin_config)
          else:
              warnings.warn("No data for this species.")
  
          return magnitude
docs: Get magnitude of Jahn-Teller effect from provided species, spin state and motife.
  
          :param species: e.g. Fe2+
          :param spin_state (str): "high" or "low"
          :param motif (str): "oct" or "tet"
  
          :return (str):