get_ordered_syl_dict

Full name: ase2sprkkr.asr.pdos.get_ordered_syl_dict

ase2sprkkr.asr.pdos.get_ordered_syl_dict(dct_syl, symbols)[source]

Order a dictionary with syl keys.

Parameters:
  • dct_syl (dict) – Dictionary with keys f’{s},{y},{l}’ (spin (s), chemical symbol (y), angular momentum (l))

  • symbols (list) – Sort symbols after index in this list

Returns:

outdct_syl – Sorted dct_syl

Return type:

OrderedDict