Skip to content

Commit e12d4b3

Browse files
committed
Update polarized example
1 parent 4f267ec commit e12d4b3

File tree

1 file changed

+2
-1
lines changed
  • examples/intermediate/PolarizedImaging

1 file changed

+2
-1
lines changed

examples/intermediate/PolarizedImaging/main.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ function sky(θ, metadata)
173173

174174
pmap .= ftot .* pmap ./ ft
175175
m = ContinuousImage(pmap, BSplinePulse{3}())
176-
return m
176+
x, y = centroid(pmap)
177+
return shifted(m, -x, -y)
177178
end
178179

179180

0 commit comments

Comments
 (0)