fix WCS computation, cdelt should not be sorted

This commit is contained in:
2025-04-01 17:02:31 +02:00
parent fce787df39
commit b577fc5afe
3 changed files with 10 additions and 10 deletions

View File

@@ -45,8 +45,8 @@ def main(target=None, proposal_id=None, infiles=None, output_dir="./data", crop=
display_bkg = True
# Data binning
pxsize = 0.05
pxscale = "arcsec" # pixel, arcsec or full
pxsize = 4
pxscale = "px" # pixel, arcsec or full
rebin_operation = "sum" # sum or average
# Alignement
@@ -59,15 +59,15 @@ def main(target=None, proposal_id=None, infiles=None, output_dir="./data", crop=
# Smoothing
smoothing_function = "combine" # gaussian_after, weighted_gaussian_after, gaussian, weighted_gaussian or combine
smoothing_FWHM = 0.075 # If None, no smoothing is done
smoothing_scale = "arcsec" # pixel or arcsec
smoothing_FWHM = 1.5 # If None, no smoothing is done
smoothing_scale = "px" # pixel or arcsec
# Rotation
rotate_North = True
# Polarization map output
P_cut = 5 # if >=1.0 cut on the signal-to-noise else cut on the confidence level in Q, U
SNRi_cut = 5.0 # I measurments with SNR>30, which implies an uncertainty in P of 4.7%.
P_cut = 3 # if >=1.0 cut on the signal-to-noise else cut on the confidence level in Q, U
SNRi_cut = 1.0 # I measurments with SNR>30, which implies an uncertainty in P of 4.7%.
flux_lim = None # lowest and highest flux displayed on plot, defaults to bkg and maximum in cut if None
scale_vec = 3
step_vec = 1 # plot all vectors in the array. if step_vec = 2, then every other vector will be plotted if step_vec = 0 then all vectors are displayed at full length