MoleCool.Levelsystem.State#
- class MoleCool.Levelsystem.State(is_lossstate=False, **QuNrs)[source]#
Bases:
objectQuantum state which contains all its quantum numbers. An electronic state instance
ElectronicStateincludes particularly such states of the same basis- Parameters:
is_lossstate (bool, optional) – determines whether the state has the function of a loss state which does not interact with any lasers but the populations can decay into this state. The branching into this state is given by the vibrational branching ratios, so it must contain the vibrational quantum number v. The default is False.
**QuNrs (kwargs of int or float) – Quantum numbers of the state.
Tip
Like for the other classes, you can simply print the state instance:
mystate = State(J=0.5,F=1,mF=0) print(mystate)
Methods
__init__([is_lossstate])Quantum state which contains all its quantum numbers.
check_QuNrvals(**QuNrvals)Check if the State object possesses specific Quantum numbers with certain values.
copy()Return a deepcopy of this state's instance.
is_equal_without_mF(other)Return True if a state is equal to an other state neglecting different mF sublevels.
Attributes
Return all the quantum numbers without mF
boolean variable determining if the state is a loss state
list of the all quantum numbers
- is_lossstate#
boolean variable determining if the state is a loss state
- QuNrs#
list of the all quantum numbers
- is_equal_without_mF(other)[source]#
Return True if a state is equal to an other state neglecting different mF sublevels.
- Parameters:
other (
State) – Other state to compare with.
- check_QuNrvals(**QuNrvals)[source]#
Check if the State object possesses specific Quantum numbers with certain values.
- Parameters:
**QuNrvals (kwargs) – Keyword arguments, e.g. v=0, F=1.
- Returns:
return_bool – True or False dependent on whether all Quantum numbers are included in the state.
- Return type:
- property QuNrs_without_mF#
Return all the quantum numbers without mF