RFactor.from_gterms
RFactor.from_gterms#
- classmethod RFactor.from_gterms(gterms, pterms=[cos(\phi_i - \phi_j)*cos(\phi_k - \phi_l)/3, sqrt(3)*sin(\phi_i - \phi_j)*sin(\phi_k - \phi_l)/6, sqrt(5)*(cos(\phi_i - \phi_j - \phi_k + \phi_l) + cos(\phi_i - \phi_j + \phi_k - \phi_l) + 6*cos(\phi_i + \phi_j - \phi_k - \phi_l))/60], angles='dummy')[source]#
Make
RFactorfrom G-factor and polarization terms.- Parameters
gterms (Sequence[sympy.core.basic.Basic]) – Spherical tensor components of G-factor.
pterms (Sequence[sympy.core.basic.Basic]) – Spherical tensor components of four-fold polarization tensor.
angles (str) – R-factor as a function of ‘dummy’ (phis) or ‘experimental` (thetas) angles, has to match pterms.
optional – R-factor as a function of ‘dummy’ (phis) or ‘experimental` (thetas) angles, has to match pterms.