- ShirleyMethod.defineBasis(n, l, j, mj, q, nMin, nMax, maxL, Bz=0, edN=0, progressOutput=False, debugOutput=False, s=0.5)#
Initializes basis of states around state of interest
Defines basis of states for further calculation. \(n,l,j,m_j\) specify target state whose neighbourhood and shifts we want to explore. Other parameters specify breadth of basis. This method stores basis in
basisStates, then calculates the interaction Hamiltonian of the system.
n (int) – principal quantum number of the state
l (int) – angular orbital momentum of the state
j (flaot) – total angular momentum of the state
mj (float) – projection of total angular momentum of the state
q (int) – polarization of coupling field is spherical basis. Must be -1, 0, or 1: corresponding to sigma-, pi, sigma+
nMin (int) – minimal principal quantum number of the states to be included in the basis for calculation
nMax (int) – maximal principal quantum number of the states to be included in the basis for calculation
maxL (int) – maximal value of orbital angular momentum for the states to be included in the basis for calculation
Bz (float, optional) – magnetic field directed along z-axis in units of Tesla. Calculation will be correct only for weak magnetic fields, where paramagnetic term is much stronger then diamagnetic term. Diamagnetic term is neglected.
edN (int, optional) – Limits the basis to electric dipole transitions of the provided photon number. Default of 0 means include all states. Setting to 1 means only include single-photon dipole-allowed transitions. Setting to 2 means include up to 2 photon transitions. Higher numbers not supported.
bool, optional) – if True prints the progress of calculation; Set to false by default.
bool, optional) – if True prints additional information usefull for debuging. Set to false by default.
s (float, optional) – Total spin angular momentum for the state. Default value of 0.5 is correct for Alkaline Atoms, but value has to be specified explicitly for divalent atoms (e.g. s=0 or s=1 for singlet and triplet states, that have total spin angular momenutum equal to 0 or 1 respectively).