Skip to content

Commit

Permalink
hack for dual pol data
Browse files Browse the repository at this point in the history
  • Loading branch information
landmanbester committed Jan 30, 2024
1 parent 022f40c commit f61a309
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pfb/utils/stokes.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ def wfunc(gp, gq, W):
gq00 = gq[0]
gq11 = gq[1]
W00 = W[0]
W01 = W[1]
W10 = W[2]
W11 = W[3]
W01 = 1.0 #W[1]
W10 = 1.0 #W[2]
W11 = W[-1]
return Wjfn(gp00, gp11,
gq00, gq11,
W00, W01, W10, W11).real
Expand All @@ -466,13 +466,13 @@ def vfunc(gp, gq, W, V):
gq00 = gq[0]
gq11 = gq[1]
W00 = W[0]
W01 = W[1]
W10 = W[2]
W11 = W[3]
W01 = 1.0 #W[1]
W10 = 1.0 #W[2]
W11 = W[-1]
V00 = V[0]
V01 = V[1]
V10 = V[2]
V11 = V[3]
V01 = 0j #V[1]
V10 = 0j #V[2]
V11 = V[-1]
return Djfn(gp00, gp11,
gq00, gq11,
W00, W01, W10, W11,
Expand Down

0 comments on commit f61a309

Please sign in to comment.