clean plot directory for 3C405 and push newest plots
|
Before Width: | Height: | Size: 406 KiB After Width: | Height: | Size: 322 KiB |
|
Before Width: | Height: | Size: 299 KiB After Width: | Height: | Size: 297 KiB |
|
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 221 KiB |
|
Before Width: | Height: | Size: 441 KiB |
|
Before Width: | Height: | Size: 300 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 573 KiB |
|
Before Width: | Height: | Size: 450 KiB |
|
Before Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 133 KiB |
BIN
plots/3C405_x136060/3C405_FOC_combine_FWHM2.png
Normal file
|
After Width: | Height: | Size: 337 KiB |
BIN
plots/3C405_x136060/3C405_FOC_combine_FWHM2_P.png
Normal file
|
After Width: | Height: | Size: 306 KiB |
BIN
plots/3C405_x136060/3C405_FOC_combine_FWHM2_P_err.png
Normal file
|
After Width: | Height: | Size: 231 KiB |
|
Before Width: | Height: | Size: 455 KiB |
|
Before Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
BIN
plots/NGC1068_x14w010/3C405_FOC_center_maxflux.png
Normal file
|
After Width: | Height: | Size: 272 KiB |
@@ -16,11 +16,11 @@ import lib.plots as proj_plots #Functions for plotting data
|
|||||||
def main():
|
def main():
|
||||||
##### User inputs
|
##### User inputs
|
||||||
## Input and output locations
|
## Input and output locations
|
||||||
globals()['data_folder'] = "../data/NGC1068_x274020/"
|
# globals()['data_folder'] = "../data/NGC1068_x274020/"
|
||||||
infiles = ['x274020at.c0f.fits','x274020bt.c0f.fits','x274020ct.c0f.fits',
|
# infiles = ['x274020at.c0f.fits','x274020bt.c0f.fits','x274020ct.c0f.fits',
|
||||||
'x274020dt.c0f.fits','x274020et.c0f.fits','x274020ft.c0f.fits',
|
# 'x274020dt.c0f.fits','x274020et.c0f.fits','x274020ft.c0f.fits',
|
||||||
'x274020gt.c0f.fits','x274020ht.c0f.fits','x274020it.c0f.fits']
|
# 'x274020gt.c0f.fits','x274020ht.c0f.fits','x274020it.c0f.fits']
|
||||||
globals()['plots_folder'] = "../plots/NGC1068_x274020/"
|
# globals()['plots_folder'] = "../plots/NGC1068_x274020/"
|
||||||
|
|
||||||
# globals()['data_folder'] = "../data/NGC1068_x14w010/"
|
# globals()['data_folder'] = "../data/NGC1068_x14w010/"
|
||||||
# infiles = ['x14w0101t_c0f.fits','x14w0102t_c0f.fits','x14w0103t_c0f.fits',
|
# infiles = ['x14w0101t_c0f.fits','x14w0102t_c0f.fits','x14w0103t_c0f.fits',
|
||||||
@@ -29,10 +29,10 @@ def main():
|
|||||||
# 'x14w0104t_c1f.fits','x14w0105p_c1f.fits','x14w0106t_c1f.fits']
|
# 'x14w0104t_c1f.fits','x14w0105p_c1f.fits','x14w0106t_c1f.fits']
|
||||||
# globals()['plots_folder'] = "../plots/NGC1068_x14w010/"
|
# globals()['plots_folder'] = "../plots/NGC1068_x14w010/"
|
||||||
|
|
||||||
# globals()['data_folder'] = "../data/3C405_x136060/"
|
globals()['data_folder'] = "../data/3C405_x136060/"
|
||||||
# infiles = ['x1360601t_c0f.fits','x1360602t_c0f.fits','x1360603t_c0f.fits']
|
infiles = ['x1360601t_c0f.fits','x1360602t_c0f.fits','x1360603t_c0f.fits']
|
||||||
# infiles = ['x1360601t_c1f.fits','x1360602t_c1f.fits','x1360603t_c1f.fits']
|
# infiles = ['x1360601t_c1f.fits','x1360602t_c1f.fits','x1360603t_c1f.fits']
|
||||||
# globals()['plots_folder'] = "../plots/3C405_x136060/"
|
globals()['plots_folder'] = "../plots/3C405_x136060/"
|
||||||
|
|
||||||
# globals()['data_folder'] = "../data/CygnusA_x43w0/"
|
# globals()['data_folder'] = "../data/CygnusA_x43w0/"
|
||||||
# infiles = ['x43w0101r_c0f.fits', 'x43w0104r_c0f.fits', 'x43w0107r_c0f.fits',
|
# infiles = ['x43w0101r_c0f.fits', 'x43w0104r_c0f.fits', 'x43w0107r_c0f.fits',
|
||||||
@@ -44,7 +44,7 @@ def main():
|
|||||||
|
|
||||||
## Reduction parameters
|
## Reduction parameters
|
||||||
# Deconvolution
|
# Deconvolution
|
||||||
deconvolve = True
|
deconvolve = False
|
||||||
if deconvolve:
|
if deconvolve:
|
||||||
psf = 'gaussian' #Can be user-defined as well
|
psf = 'gaussian' #Can be user-defined as well
|
||||||
psf_FWHM = 0.10
|
psf_FWHM = 0.10
|
||||||
@@ -52,27 +52,27 @@ def main():
|
|||||||
psf_shape=(9,9)
|
psf_shape=(9,9)
|
||||||
iterations = 10
|
iterations = 10
|
||||||
# Error estimation
|
# Error estimation
|
||||||
error_sub_shape = (50,50)
|
error_sub_shape = (100,100)
|
||||||
display_error = False
|
display_error = False
|
||||||
# Data binning
|
# Data binning
|
||||||
rebin = True
|
rebin = True
|
||||||
if rebin:
|
if rebin:
|
||||||
pxsize = 0.10
|
pxsize = 0.30
|
||||||
px_scale = 'arcsec' #pixel or arcsec
|
px_scale = 'arcsec' #pixel or arcsec
|
||||||
rebin_operation = 'sum' #sum or average
|
rebin_operation = 'sum' #sum or average
|
||||||
# Alignement
|
# Alignement
|
||||||
align_center = 'maxflux' #If None will align image to image center
|
align_center = 'image' #If None will align image to image center
|
||||||
display_data = True
|
display_data = False
|
||||||
# Smoothing
|
# Smoothing
|
||||||
smoothing_function = 'combine' #gaussian or combine
|
smoothing_function = 'combine' #gaussian or combine
|
||||||
smoothing_FWHM = None #If None, no smoothing is done
|
smoothing_FWHM = 2 #If None, no smoothing is done
|
||||||
smoothing_scale = 'pixel' #pixel or arcsec
|
smoothing_scale = 'pixel' #pixel or arcsec
|
||||||
# Rotation
|
# Rotation
|
||||||
rotate = False #rotation to North convention can give erroneous results
|
rotate = False #rotation to North convention can give erroneous results
|
||||||
rotate_library = 'scipy' #scipy or pillow
|
rotate_library = 'scipy' #scipy or pillow
|
||||||
# Polarization map output
|
# Polarization map output
|
||||||
figname = 'NGC1068_FOC' #target/intrument name
|
figname = '3C405_FOC' #target/intrument name
|
||||||
figtype = '' #additionnal informations
|
figtype = '_combine_FWHM2' #additionnal informations
|
||||||
SNRp_cut = 3 #P measurments with SNR>3
|
SNRp_cut = 3 #P measurments with SNR>3
|
||||||
SNRi_cut = 30 #I measurments with SNR>30, which implies an uncertainty in P of 4.7%.
|
SNRi_cut = 30 #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
|
step_vec = 1 #plot all vectors in the array. if step_vec = 2, then every other vector will be plotted
|
||||||
|
|||||||