add data reduction for 3C109 proposal 6927
5
data/3C109_x3mc010/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Observation data
|
||||||
|
Instrument : FOC
|
||||||
|
Proposal ID : 6927
|
||||||
|
Target name : 3C109
|
||||||
|
Dataset : X3MC010
|
||||||
BIN
plots/3C109_x3mc010/3C109_FOC.png
Normal file
|
After Width: | Height: | Size: 188 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_P.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_P_err.png
Normal file
|
After Width: | Height: | Size: 164 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_center_image.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_combine_FWHM2.png
Normal file
|
After Width: | Height: | Size: 364 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_combine_FWHM2_P.png
Normal file
|
After Width: | Height: | Size: 313 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_combine_FWHM2_P_err.png
Normal file
|
After Width: | Height: | Size: 231 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_combine_FWHM2_rot.png
Normal file
|
After Width: | Height: | Size: 263 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_combine_FWHM2_rot_P.png
Normal file
|
After Width: | Height: | Size: 175 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_combine_FWHM2_rot_P_err.png
Normal file
|
After Width: | Height: | Size: 170 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_errors_background_flux.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_errors_background_location.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
plots/3C109_x3mc010/3C109_FOC_gaussian_FWHM2.png
Normal file
|
After Width: | Height: | Size: 331 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_gaussian_FWHM2_P.png
Normal file
|
After Width: | Height: | Size: 313 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_gaussian_FWHM2_P_err.png
Normal file
|
After Width: | Height: | Size: 231 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_gaussian_FWHM2_rot.png
Normal file
|
After Width: | Height: | Size: 205 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_gaussian_FWHM2_rot_P.png
Normal file
|
After Width: | Height: | Size: 175 KiB |
BIN
plots/3C109_x3mc010/3C109_FOC_gaussian_FWHM2_rot_P_err.png
Normal file
|
After Width: | Height: | Size: 170 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',
|
||||||
@@ -42,6 +42,10 @@ def main():
|
|||||||
# 'x43w0109r_c0f.fits', 'x43w0203r_c0f.fits', 'x43w0206r_c0f.fits']
|
# 'x43w0109r_c0f.fits', 'x43w0203r_c0f.fits', 'x43w0206r_c0f.fits']
|
||||||
# globals()['plots_folder'] = "../plots/CygnusA_x43w0/"
|
# globals()['plots_folder'] = "../plots/CygnusA_x43w0/"
|
||||||
|
|
||||||
|
globals()['data_folder'] = "../data/3C109_x3mc010/"
|
||||||
|
infiles = ['x3mc0101m_c0f.fits','x3mc0102m_c0f.fits','x3mc0103m_c0f.fits']
|
||||||
|
globals()['plots_folder'] = "../plots/3C109_x3mc010/"
|
||||||
|
|
||||||
## Reduction parameters
|
## Reduction parameters
|
||||||
# Deconvolution
|
# Deconvolution
|
||||||
deconvolve = False
|
deconvolve = False
|
||||||
@@ -52,7 +56,7 @@ def main():
|
|||||||
psf_shape=(9,9)
|
psf_shape=(9,9)
|
||||||
iterations = 5
|
iterations = 5
|
||||||
# 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
|
||||||
@@ -61,18 +65,18 @@ def main():
|
|||||||
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 = False
|
display_data = False
|
||||||
# Smoothing
|
# Smoothing
|
||||||
smoothing_function = 'combine' #gaussian or combine
|
smoothing_function = 'gaussian' #gaussian or combine
|
||||||
smoothing_FWHM = 2 #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 = True #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 = '3C109_FOC' #target/intrument name
|
||||||
figtype = '_combine_FWHM2_rot2' #additionnal informations
|
figtype = '_gaussian_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
|
||||||
|
|||||||