rotsim2d.symbolic.functions#
This module contains functions to derive and manipulate SymPy expressions
related to polarization dependence and angular momentum dependence of four-fold
dipole interaction operator. The derived expressions are in
rotsim2d.symbolic.results
.
Miscellaneous functions#
|
Call |
|
Linear polarization spherical tensor component q. |
|
k-th component of isotropic four-fold polarization tensor. |
|
Return G-factors for a |
|
Return polarization components a |
RFactor#
|
Attributes#
SymPy expressions for R-factor. |
|
'c0', 'c12', 'c13', 'c14'. |
|
Tuple of coefficients (c0, c12, c13, c14). |
|
Sympy expressions for cosines of 4 angles present in expression for the R-factor. |
|
SymPy symbols for 4 angles. |
|
Kind of angles, either 'dummy' (phis) or 'experimental` (thetas). |
Methods#
|
Make |
|
Make |
|
Return R-factor corresponding to |
Regenerate expression from dict. |
|
Return R-factor expression for XXXX polarization. |
|
Return R-factor expressions relative to XXXX polarization. |
|
|
Try to efficiently evaluate R-factor with NumPy. |
|
Try to efficiently evaluate relative R-factor with NumPy. |
|
Return expr. |
Top-level functions#
|
Return a mapping between R-factors and pathways in dressed_pws. |
|
Return expr. |
|
Return roots of expressions in exprs with respect to detection angle. |
|
Find angles simultaneously zeroing all in exprs. |
|
Return a map between suppression angles and pathways. |
|
Return a map between detection angles and elements of pws they suppress. |
|
Zeroing det. |
RFactorPathways#
|
Container for |
Attributes#
R-factor associated with these pathways. |
|
List of pathways. |
|
Dictionary of pathway properties. |
|
Detection angle zeroing this R-factor. |
|
Combined transition labels for all included pathways. |
|
Combined degenerate transition labels for all included pathways. |
|
Combined 2D peak labels for all included pathways. |
Methods#
|
Classify pathways in |
|
Calculate zeroing detection angle for this R-factor. |
|
Add some property to pathways. |
Top-level functions#
|
Calculate J-dependent R-factors and uniquify them. |
|
Generate J-dependent zeroing angle functions. |
|
Calculate geometric amplitudes for specific angles and J_i values. |
|
Calculate relative amplitudes for specified angles. |
|
Calculate pathway amplitude expressions. |
|
Optimize contrast between two sets of R-factors. |