askap-vast / vast-post-processing

MIT License
0 stars 0 forks source link

Correction values for the flux and astrometry are only converted for Stokes I data #85

Closed ddobie closed 5 months ago

ddobie commented 5 months ago
flux_corr_mult_value = flux_corr_mult.n
flux_corr_mult_std = flux_corr_mult.s
flux_corr_add_value = flux_corr_add.n
flux_corr_add_std = flux_corr_add.s
dra_median_value = dra_median_value.item()
dra_median_std = dra_median_std.item()
ddec_median_value = ddec_median_value.item()
ddec_median_std = ddec_median_std.item()

is placed inside an if statement that checks if Stokes I data is selected. These need to be calculated for all data.