From f1a1e5fa3df5a74f7db5ff8c2b814e9d21564555 Mon Sep 17 00:00:00 2001 From: Kevin Schmidt Date: Fri, 24 Jan 2025 18:50:30 +0100 Subject: [PATCH] comment about polarisation --- pyvisgen/fits/writer.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyvisgen/fits/writer.py b/pyvisgen/fits/writer.py index f2be507..8d6603a 100644 --- a/pyvisgen/fits/writer.py +++ b/pyvisgen/fits/writer.py @@ -43,12 +43,13 @@ def create_vis_hdu(data, obs, source_name="sim-source-0"): ws = wcs.WCS(naxis=7) + # need to switch between lin and circ pol in future crval_stokes = -5 stokes_comment = "-1=RR, -2=LL, -3=RL, -4=LR" - if obs.polarisation == "linear": - crval_stokes = -5 - stokes_comment = "-5=XX, -6=YY, -7=XY, -8=YX" - stokes_comment += " or -5=VV, -6=HH, -7=VH, -8=HV" + # if obs.polarisation == "linear": + # crval_stokes = -5 + # stokes_comment = "-5=XX, -6=YY, -7=XY, -8=YX" + # stokes_comment += " or -5=VV, -6=HH, -7=VH, -8=HV" ws.wcs.crpix = [0, 1, 1, 1, 1, 1, 1] ws.wcs.crota = [0, 0, 0, 0, 0, 0, 0]