You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hence lvec[N//2] = (-0.5 * N + N // 2) * dl + l0 = l0 (because N always even). But in FITS I think pixels are 1-indexed, so in pixel frame the ref pixel CRPIX = N // 2 + 1.
Should verify empirically though.
The text was updated successfully, but these errors were encountered:
Ensure that l0, m0 calculations are correct.
We have that w-gridder uses:
hence
lvec[N//2] = (-0.5 * N + N // 2) * dl + l0 = l0
(because N always even). But in FITS I think pixels are 1-indexed, so in pixel frame the ref pixelCRPIX = N // 2 + 1
.Should verify empirically though.
The text was updated successfully, but these errors were encountered: