CoreKet

Class Methods

__init__([i_c, s_c, l_c, j_c, f_c, label])

Initialize the core angular ket.

find_matching_core_ket(matching_core_ket_list)

Find the matching core ket in the given list of core kets.

Class Attributes and Properties

i_c

s_c

l_c

j_c

f_c

label

quantum_numbers

contains_unknown

Return True if any of the quantum numbers is Unknown.

quantum_number_names

class rydstate.angular.CoreKet(i_c=None, s_c=None, l_c=None, j_c=None, f_c=None, label=None)[source]

Initialize the core angular ket.

Parameters:
  • i_c (float | None)

  • s_c (float | None)

  • l_c (Unknown | int | None)

  • j_c (Unknown | float | None)

  • f_c (Unknown | float | None)

  • label (Unknown | str | None)

quantum_number_names: ClassVar = ('i_c', 's_c', 'l_c', 'j_c', 'f_c')
i_c
s_c
l_c
j_c
f_c
quantum_numbers
label
property contains_unknown: bool

Return True if any of the quantum numbers is Unknown.

find_matching_core_ket(matching_core_ket_list)[source]

Find the matching core ket in the given list of core kets.

This means, is one core_ket in the list a broader or equal description of the same core state. Specifically, a core_ket from the list is a match if:

  • The quantum numbers are the same or the quantum number of the matching_core_ket (from the list) is unknown.

  • The label is the same, or the label of the matching_core_ket is unknown, or the label of the matching_core_ket is contained in the label of self.

Parameters:

matching_core_ket_list (Iterable[CoreKet]) – List of core kets to search for a match.

Return type:

CoreKet

Returns:

The matching core ket from the list.