Skip to content

Commit

Permalink
Merge pull request #130 from ahesse93/bugfix-fix-hyperfine-splitting
Browse files Browse the repository at this point in the history
fixed Hyperfine splitting (missing factor 2) and typo in documentation
  • Loading branch information
nikolasibalic authored Mar 2, 2023
2 parents a3483cf + d150d08 commit 93d4d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arc/alkali_atom_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2643,7 +2643,7 @@ def breitRabi(self, n, l, j, B):
and
:math:`\mathcal{H}_\mathrm{hfs}=A_\mathrm{hfs}I\cdot J + B_\mathrm{hfs}\frac{3(I\cdot J)^2+3/2 I\cdot J -I^2J^2}{2I(2I+1)2J(2J+1)}`.
:math:`\mathcal{H}_\mathrm{hfs}=A_\mathrm{hfs}I\cdot J + B_\mathrm{hfs}\frac{3(I\cdot J)^2+3/2 I\cdot J -I^2J^2}{2I(2I-1)2J(2J-1)}`.
Args:
n,l,j: principal,orbital, total orbital quantum numbers
Expand Down Expand Up @@ -2685,7 +2685,7 @@ def breitRabi(self, n, l, j, B):
Hhfs = Ahfs * IJ
if(Bhfs != 0):
Hhfs += Bhfs * (3 * IJ * IJ + 3 / 2 * IJ - I2 * J2) / \
(2 * self.I * (2 * self.I - 1) * j * (2 * j - 1))
(2 * self.I * (2 * self.I - 1) * 2 * j * (2 * j - 1))

# Zeeman Interaction
Hz = uB * (self.getLandegjExact(l, j) * Jz + self.gI * Iz)
Expand Down

0 comments on commit 93d4d69

Please sign in to comment.