rotsim2d.pathways#
Generate all Liouville pathways for nth order rovibrational excitation.
Enums#
|
Ket- or Bra-side excitation by |
|
Positive or negative part light spectrum. |
LightInteraction#
|
Represents (dipole) interaction between the system and a light beam. |
Attributes#
Identifier for the light beam. |
|
Ket or bra excitation. |
|
Wavevector sign of created polarization contribution. |
|
Single float for linear polarization and pair of numbers for elliptical. |
|
Readout or actual light interaction. |
|
Number of interactions preceding this one in the tree. |
Methods#
True if absorption within dipole approximation. |
|
|
Return copy with some attributes replaced. |
Return detached conjugate of this LightInteraction. |
KetBra#
|
Node in a tree of excited states. |
Attributes#
ket-side rovibrational state |
|
bra-side rovibrational state |
|
ASCII art KetBra |
Simple predicates#
These methods are primarily useful for leaf nodes.
Check if current node is a population state. |
|
Check if current pathway is rephasing. |
|
|
Check if \(\vec{k}_s = -\vec{k}_1+\vec{k}_2+\vec{k}_3\) (rephasing). |
|
Check if \(\vec{k}_s=\vec{k}_1-\vec{k}_2+\vec{k}_3\) (non-rephasing). |
|
Check if \(\vec{k}_s=\vec{k}_1+\vec{k}_2-\vec{k}_3\) (double quantum). |
Check if initial excitation is P-branch. |
|
Check if initial excitation is R-branch. |
|
Check if initial excitation is Q-branch. |
|
Check if pump or probe axis involves Q-branch coherence. |
|
Check if pathway corresponds to excited-state absorption. |
|
Check if pathway corresponds to stimulated emission pumping. |
|
Check if pathway corresponds to ground-state hole-burning. |
|
Check if pathway has double-quantum coherence. |
|
Check for coherent state after second interaction. |
|
Check if this pathway contains only coherences corresponding to a single dipole transition. |
|
Check if pathway is two-color. |
|
Check if pathway is three-color. |
Comparison#
|
Check if this pathway produces cross-peak between |
Check if other pathway belongs to the same branch. |
|
Check if other pathway differs only by initial J state. |
|
|
Match self to pathway consisting of kbs. |
Match self to one of pathways in kbs. |
Miscellaneous#
Deep copy of the tree. |
|
|
Return copy with some attributes replaced. |
|
Index KetBra by Side enum. |
Return detached conjugate of this KetBra. |
|
|
Save excitation tree as an image. |
Return copy of self with ket being the lower nu, j level. |
|
Pretty print excitation tree. |
|
|
Return first KetBra ancestor. |
|
Collect diagonal leaves. |
Ancestor KetBras and self, from top to bottom. |
|
Interactions which generated this KetBra, from top to bottom. |
|
|
Return |
Return signs of wavevectors of interactions. |
|
Cumulative sign of the term. |
|
Return sides of DM on which interactions acted. |
|
Cumulative side of the term. |
|
Return list of transitions as a list of state pairs. |
|
Number of colors neede to create this pathway. |
|
|
KetBras leading to this one as a list of state pairs. |
Top-level functions#
Tree-filtering functions#
|
Limit tree to pathways between |
|
Retain only |
|
Retain only pathways in |
|
Remove all pathways for which |
|
Retain only pathways for which |
The tree-filtering functions below were generated with make_only()
and
make_remove()
. Their names should be self-explanatory. For example:
only_SI = make_only(lambda kb: kb.is_SI())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tree manipulation and generation#
|
Remove leaves whose depth is less than |
|
Retain only dipole-allowed pathways. |
|
Flip the side of readout. |
|
Make a single-child tree ending with |
|
Return excitation chain with all nodes conjugated. |
|
Conjugate SI pathways, ensure that readout is emissive. |
|
Ensure that readout in the whole tree is emissive. |
|
Return symtop states reachable from |
|
Return diatom states reachable from |
|
Generate all excitations of |
|
Generate multiple excitations of |
|
Return a list of |
|
Generate excitation tree, filter it and retain only resonant pathways. |
|
Generate multiple excitation trees, filter them and retain resonant ones. |
|
Return polarization and angular momentum sequence for a pathway. |