mesage du commit
This commit is contained in:
@@ -20,12 +20,12 @@ from astropy.wcs import WCS
|
|||||||
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']
|
||||||
# psf_file = 'NGC1068_f253m00.fits'
|
# psf_file = 'NGC1068_f253m00.fits'
|
||||||
globals()['plots_folder'] = "../plots/NGC1068_x274020/"
|
# globals()['plots_folder'] = "../plots/NGC1068_x274020/"
|
||||||
|
|
||||||
# globals()['data_folder'] = "../data/IC5063_x3nl030/"
|
# globals()['data_folder'] = "../data/IC5063_x3nl030/"
|
||||||
# infiles = ['x3nl0301r_c0f.fits','x3nl0302r_c0f.fits','x3nl0303r_c0f.fits']
|
# infiles = ['x3nl0301r_c0f.fits','x3nl0302r_c0f.fits','x3nl0303r_c0f.fits']
|
||||||
@@ -86,6 +86,24 @@ def main():
|
|||||||
# infiles = ['x0u20101t_c0f.fits','x0u20102t_c0f.fits','x0u20103t_c0f.fits','x0u20104t_c0f.fits','x0u20105t_c0f.fits','x0u20106t_c0f.fits','x0u20201t_c0f.fits','x0u20202t_c0f.fits','x0u20203t_c0f.fits','x0u20204t_c0f.fits','x0u20205t_c0f.fits','x0u20206t_c0f.fits','x0u20301t_c0f.fits','x0u20302t_c0f.fits','x0u20303t_c0f.fits','x0u20304t_c0f.fits','x0u20305t_c0f.fits','x0u20306t_c0f.fits']
|
# infiles = ['x0u20101t_c0f.fits','x0u20102t_c0f.fits','x0u20103t_c0f.fits','x0u20104t_c0f.fits','x0u20105t_c0f.fits','x0u20106t_c0f.fits','x0u20201t_c0f.fits','x0u20202t_c0f.fits','x0u20203t_c0f.fits','x0u20204t_c0f.fits','x0u20205t_c0f.fits','x0u20206t_c0f.fits','x0u20301t_c0f.fits','x0u20302t_c0f.fits','x0u20303t_c0f.fits','x0u20304t_c0f.fits','x0u20305t_c0f.fits','x0u20306t_c0f.fits']
|
||||||
# globals()['plots_folder'] = "../plots/3C273_x0u20/"
|
# globals()['plots_folder'] = "../plots/3C273_x0u20/"
|
||||||
|
|
||||||
|
#BEWARE: 5 observations separated by 1 year each (1995, 1996, 1997, 1998, 1999)
|
||||||
|
globals()['data_folder'] = "../data/M87/POS1/"
|
||||||
|
infiles = ['x2py010ct_c0f.fits','x2py010dt_c0f.fits','x2py010et_c0f.fits','x2py010ft_c0f.fits'] #1995
|
||||||
|
# infiles = ['x3be010ct_c0f.fits','x3be010dt_c0f.fits','x3be010et_c0f.fits','x3be010ft_c0f.fits'] #1996
|
||||||
|
# infiles = ['x43r010km_c0f.fits','x43r010mm_c0f.fits','x43r010om_c0f.fits','x43r010rm_c0f.fits'] #1997
|
||||||
|
# infiles = ['x43r110kr_c0f.fits','x43r110mr_c0f.fits','x43r110or_c0f.fits','x43r110rr_c0f.fits'] #1998
|
||||||
|
# infiles = ['x43r210kr_c0f.fits','x43r210mr_c0f.fits','x43r210or_c0f.fits','x43r210rr_c0f.fits'] #1999
|
||||||
|
globals()['plots_folder'] = "../plots/M87/POS1/"
|
||||||
|
|
||||||
|
#BEWARE: 5 observations separated by 1 year each (1995, 1996, 1997, 1998, 1999)
|
||||||
|
# globals()['data_folder'] = "../data/M87/POS3/"
|
||||||
|
# infiles = ['x2py030at_c0f.fits','x2py030bt_c0f.fits','x2py030ct_c0f.fits','x2py0309t_c0f.fits'] #1995
|
||||||
|
# infiles = ['x3be030at_c0f.fits','x3be030bt_c0f.fits','x3be030ct_c0f.fits','x3be0309t_c0f.fits'] #1996
|
||||||
|
# infiles = ['x43r030em_c0f.fits','x43r030gm_c0f.fits','x43r030im_c0f.fits','x43r030lm_c0f.fits'] #1997
|
||||||
|
# infiles = ['x43r130er_c0f.fits','x43r130fr_c0f.fits','x43r130ir_c0f.fits','x43r130lr_c0f.fits'] #1998
|
||||||
|
# infiles = ['x43r230er_c0f.fits','x43r230fr_c0f.fits','x43r230ir_c0f.fits','x43r230lr_c0f.fits'] #1999
|
||||||
|
# globals()['plots_folder'] = "../plots/M87/POS3/"
|
||||||
|
|
||||||
## Reduction parameters
|
## Reduction parameters
|
||||||
# Deconvolution
|
# Deconvolution
|
||||||
deconvolve = False
|
deconvolve = False
|
||||||
@@ -105,7 +123,7 @@ def main():
|
|||||||
# Data binning
|
# Data binning
|
||||||
rebin = True
|
rebin = True
|
||||||
if rebin:
|
if rebin:
|
||||||
pxsize = 0.05
|
pxsize = 0.1
|
||||||
px_scale = 'arcsec' #pixel, arcsec or full
|
px_scale = 'arcsec' #pixel, arcsec or full
|
||||||
rebin_operation = 'sum' #sum or average
|
rebin_operation = 'sum' #sum or average
|
||||||
# Alignement
|
# Alignement
|
||||||
@@ -122,11 +140,11 @@ def main():
|
|||||||
crop = False #Crop to desired ROI
|
crop = False #Crop to desired ROI
|
||||||
final_display = True
|
final_display = True
|
||||||
# Polarization map output
|
# Polarization map output
|
||||||
figname = 'NGC1068_FOC' #target/intrument name
|
figname = 'M87_POS1_1995_FOC' #target/intrument name
|
||||||
figtype = '_combine_FWHM010' #additionnal informations
|
figtype = '_combine_FWHM01' #additionnal informations
|
||||||
SNRp_cut = 5. #P measurments with SNR>3
|
SNRp_cut = 3. #P measurments with SNR>3
|
||||||
SNRi_cut = 50. #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 = 0 #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
|
# if step_vec = 0 then all vectors are displayed at full length
|
||||||
|
|
||||||
##### Pipeline start
|
##### Pipeline start
|
||||||
|
|||||||
8
src/run_pipeline
Normal file
8
src/run_pipeline
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
EXECUTER PIPELINE
|
||||||
|
python3 FOC_reduction.py
|
||||||
|
|
||||||
|
OUVRIR LE FICHIER FITS FINAL AVEC L'OUTIL D'ANALYSE
|
||||||
|
python3 analysis.py -f ../data/NGC1068_x274020/NGC1068_FOC_combine_FWHM010.fits
|
||||||
|
|
||||||
|
METTRE DES VALEURS PAR DEFAUT A L'OUTIL D'ANALYSE POUR LES CUTS EN POLARIZATION ET INTENSITE
|
||||||
|
python3 analysis.py -f ../data/NGC1068_x274020/NGC1068_FOC_combine_FWHM010.fits -p 5 -i 10
|
||||||
Reference in New Issue
Block a user