gen_pathways
gen_pathways#
- gen_pathways(jiter, meths=None, rotor='linear', kiter_func=None, pump_overlap=False, initial='ket')[source]#
Generate multiple excitation trees, filter them and retain resonant ones.
- Parameters
jiter (Iterable) – An iterable of J values.
meths (Optional[Sequence[Callable]]) – Each callable in the list must take a KetBra argument and return a KetBra.
rotor (str) – Either ‘linear’ for
DiatomStateor ‘symmetric’ forSymTopStatemolecular states.kiter_func (Optional[str]) – Python expression evaluating to an iterable over K states. The expression is evaluated in an environment with
jbound to current J value.pump_overlap (bool) – Generate additional pathways with reversed time ordering of first two interactions.
initial (str) – Start with ‘ket’ or ‘bra’ excitation.
- Returns
List of roots of the excitation trees.
- Return type
List[KetBra]