From 845c6c30da144bd529553add5d9767440511f0fc Mon Sep 17 00:00:00 2001 From: Thibault Barnouin Date: Thu, 2 May 2024 12:36:17 +0200 Subject: [PATCH] Fix wrong orientation in some cases --- src/lib/fits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/fits.py b/src/lib/fits.py index 9116c83..ec90801 100755 --- a/src/lib/fits.py +++ b/src/lib/fits.py @@ -67,7 +67,7 @@ def get_obs_data(infiles, data_folder="", compute_flux=False): new_wcs.wcs.cdelt = new_cdelt for key, val in new_wcs.to_header().items(): header[key] = val - header['orientat'] = princ_angle(float(header['orientat'])) + # header['orientat'] = princ_angle(float(header['orientat'])) # force WCS for POL60 to have same pixel size as POL0 and POL120 is_pol60 = np.array([head['filtnam1'].lower() == 'pol60' for head in headers], dtype=bool)