Skip to content

Commit

Permalink
Change 3j phase factor
Browse files Browse the repository at this point in the history
I have changed the qse factor for the 3j symbol to match the derivation
in the added documentation. Here, q is defined as q:= Mu - Ml.
  • Loading branch information
RHanley1 committed May 6, 2020
1 parent 93b58dc commit ab42662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ion_phys/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def calc_Epole(self):
continue

ind_l = np.argwhere(Ml == Mu[ind_u]-q)
sign = (-1)**(2*Ju+Jl-Mu[ind_u]+order)
sign = (-1)**(Ju-Mu[ind_u])
ePole_hf[ind_l, ind_u+Jdim_l] = wigner3j(
Ju, order, Jl, -Mu[ind_u], q, (Mu[ind_u]-q))*sign
ePole_hf *= np.sqrt(A*(2*Ju+1))
Expand All @@ -413,7 +413,7 @@ def calc_Epole(self):

# now couple...
V = self.V
self.ePole = V.T@self.ePole_hf@V
self.ePole = V.T.conj()@self.ePole_hf@V
self.Gamma = np.power(np.abs(self.ePole), 2)
self.GammaJ = np.sum(self.Gamma, 0)

Expand Down

0 comments on commit ab42662

Please sign in to comment.