remove axis error on 3C273
|
Before Width: | Height: | Size: 291 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 895 KiB |
|
Before Width: | Height: | Size: 319 KiB After Width: | Height: | Size: 460 KiB |
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 389 KiB |
|
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 372 KiB |
|
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 814 KiB |
|
Before Width: | Height: | Size: 321 KiB After Width: | Height: | Size: 888 KiB |
|
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 758 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 3.5 MiB |
BIN
plots/3C273_x0u20/3C2173_FOC_combine_FWHM015_deconvolved.png
Normal file
|
After Width: | Height: | Size: 429 KiB |
BIN
plots/3C273_x0u20/3C2173_FOC_combine_FWHM015_deconvolved_IQU.png
Normal file
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 301 KiB |
BIN
plots/3C273_x0u20/3C2173_FOC_combine_FWHM015_deconvolved_P.png
Normal file
|
After Width: | Height: | Size: 224 KiB |
|
After Width: | Height: | Size: 233 KiB |
|
After Width: | Height: | Size: 381 KiB |
|
After Width: | Height: | Size: 425 KiB |
|
After Width: | Height: | Size: 323 KiB |
@@ -90,7 +90,7 @@ def main():
|
||||
deconvolve = True
|
||||
if deconvolve:
|
||||
psf = 'gaussian' #Can be user-defined as well
|
||||
psf_FWHM = 0.10
|
||||
psf_FWHM = 0.15
|
||||
psf_scale = 'arcsec'
|
||||
psf_shape=(9,9)
|
||||
iterations = 10
|
||||
@@ -102,7 +102,7 @@ def main():
|
||||
# Data binning
|
||||
rebin = True
|
||||
if rebin:
|
||||
pxsize = 0.10
|
||||
pxsize = 0.15
|
||||
px_scale = 'arcsec' #pixel or arcsec
|
||||
rebin_operation = 'sum' #sum or average
|
||||
# Alignement
|
||||
@@ -110,16 +110,16 @@ def main():
|
||||
display_data = False
|
||||
# Smoothing
|
||||
smoothing_function = 'combine' #gaussian_after, gaussian or combine
|
||||
smoothing_FWHM = 0.10 #If None, no smoothing is done
|
||||
smoothing_FWHM = 0.15 #If None, no smoothing is done
|
||||
smoothing_scale = 'arcsec' #pixel or arcsec
|
||||
# Rotation
|
||||
rotate_stokes = True #rotation to North convention can give erroneous results
|
||||
rotate_data = False #rotation to North convention can give erroneous results
|
||||
# Polarization map output
|
||||
figname = '3C2173_FOC' #target/intrument name
|
||||
figtype = '_combine_FWHM010_deconvolved' #additionnal informations
|
||||
figtype = '_combine_FWHM015_deconvolved' #additionnal informations
|
||||
SNRp_cut = 5. #P measurments with SNR>3
|
||||
SNRi_cut = 30. #I measurments with SNR>30, which implies an uncertainty in P of 4.7%.
|
||||
SNRi_cut = 20. #I measurments with SNR>30, which implies an uncertainty in P of 4.7%.
|
||||
step_vec = 1 #plot all vectors in the array. if step_vec = 2, then every other vector will be plotted
|
||||
|
||||
##### Pipeline start
|
||||
|
||||
@@ -1172,9 +1172,9 @@ def compute_Stokes(data_array, error_array, data_mask, headers,
|
||||
s_U2_axis = (dU_dtheta1**2*sigma_theta[0]**2 + dU_dtheta2**2*sigma_theta[1]**2 + dU_dtheta3**2*sigma_theta[2]**2)
|
||||
|
||||
# Add quadratically the uncertainty to the Stokes covariance matrix ## THIS IS WHERE THE PROBLEMATIC UNCERTAINTY IS ADDED TO THE PIPELINE
|
||||
Stokes_cov[0,0] += s_I2_axis
|
||||
Stokes_cov[1,1] += s_Q2_axis
|
||||
Stokes_cov[2,2] += s_U2_axis
|
||||
#Stokes_cov[0,0] += s_I2_axis
|
||||
#Stokes_cov[1,1] += s_Q2_axis
|
||||
#Stokes_cov[2,2] += s_U2_axis
|
||||
|
||||
# s_I_I = np.sqrt(Stokes_cov[0,0])/I_stokes*100.
|
||||
# s_I_axis_I = np.sqrt(s_I2_axis)/I_stokes*100.
|
||||
|
||||