Merge branch 'main' of gitea.tibeuleu.xyz:Tibeuleu/FOC_reduction
2
Download_data
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
TELECHARGER DONNEES HST
|
||||||
|
https://archive.stsci.edu/hst/search.php
|
||||||
BIN
plots/M87/Biretta_1999_ApJ_520_621.pdf
Normal file
BIN
plots/M87/HST_polarization_observations_of_the_jet_of_M87.pdf
Normal file
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01.png
Normal file
|
After Width: | Height: | Size: 462 KiB |
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01_IQU.png
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01_I_err.png
Normal file
|
After Width: | Height: | Size: 314 KiB |
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01_P.png
Normal file
|
After Width: | Height: | Size: 269 KiB |
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01_P_err.png
Normal file
|
After Width: | Height: | Size: 276 KiB |
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01_P_flux.png
Normal file
|
After Width: | Height: | Size: 290 KiB |
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01_SNRi.png
Normal file
|
After Width: | Height: | Size: 500 KiB |
BIN
plots/M87/POS1/M87_POS1_1995_FOC_combine_FWHM01_SNRp.png
Normal file
|
After Width: | Height: | Size: 531 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01.png
Normal file
|
After Width: | Height: | Size: 437 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01_IQU.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01_I_err.png
Normal file
|
After Width: | Height: | Size: 298 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01_P.png
Normal file
|
After Width: | Height: | Size: 251 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01_P_err.png
Normal file
|
After Width: | Height: | Size: 258 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01_P_flux.png
Normal file
|
After Width: | Height: | Size: 269 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01_SNRi.png
Normal file
|
After Width: | Height: | Size: 474 KiB |
BIN
plots/M87/POS1/M87_POS1_1996_FOC_combine_FWHM01_SNRp.png
Normal file
|
After Width: | Height: | Size: 503 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01.png
Normal file
|
After Width: | Height: | Size: 366 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01_IQU.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01_I_err.png
Normal file
|
After Width: | Height: | Size: 304 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01_P.png
Normal file
|
After Width: | Height: | Size: 256 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01_P_err.png
Normal file
|
After Width: | Height: | Size: 262 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01_P_flux.png
Normal file
|
After Width: | Height: | Size: 288 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01_SNRi.png
Normal file
|
After Width: | Height: | Size: 480 KiB |
BIN
plots/M87/POS1/M87_POS1_1997_FOC_combine_FWHM01_SNRp.png
Normal file
|
After Width: | Height: | Size: 496 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01.png
Normal file
|
After Width: | Height: | Size: 428 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01_IQU.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01_I_err.png
Normal file
|
After Width: | Height: | Size: 282 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01_P.png
Normal file
|
After Width: | Height: | Size: 229 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01_P_err.png
Normal file
|
After Width: | Height: | Size: 233 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01_P_flux.png
Normal file
|
After Width: | Height: | Size: 259 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01_SNRi.png
Normal file
|
After Width: | Height: | Size: 437 KiB |
BIN
plots/M87/POS1/M87_POS1_1998_FOC_combine_FWHM01_SNRp.png
Normal file
|
After Width: | Height: | Size: 350 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01.png
Normal file
|
After Width: | Height: | Size: 427 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01_IQU.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01_I_err.png
Normal file
|
After Width: | Height: | Size: 284 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01_P.png
Normal file
|
After Width: | Height: | Size: 235 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01_P_err.png
Normal file
|
After Width: | Height: | Size: 241 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01_P_flux.png
Normal file
|
After Width: | Height: | Size: 264 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01_SNRi.png
Normal file
|
After Width: | Height: | Size: 469 KiB |
BIN
plots/M87/POS1/M87_POS1_1999_FOC_combine_FWHM01_SNRp.png
Normal file
|
After Width: | Height: | Size: 395 KiB |
BIN
plots/M87/POS1/animated_loop/M87.gif
Normal file
|
After Width: | Height: | Size: 6.2 MiB |
|
After Width: | Height: | Size: 500 KiB |
|
After Width: | Height: | Size: 474 KiB |
|
After Width: | Height: | Size: 480 KiB |
|
After Width: | Height: | Size: 437 KiB |
|
After Width: | Height: | Size: 469 KiB |
2
plots/M87/POS1/animated_loop/make_gif
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
convert -delay 20 -loop 0 *.jpg myimage.gif
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 630 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 166 KiB |
|
Before Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 392 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 329 KiB |
|
Before Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 336 KiB |
|
Before Width: | Height: | Size: 336 KiB |
|
Before Width: | Height: | Size: 595 KiB |
|
Before Width: | Height: | Size: 610 KiB |
|
Before Width: | Height: | Size: 444 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 374 KiB |
|
Before Width: | Height: | Size: 338 KiB |
|
Before Width: | Height: | Size: 349 KiB |
|
Before Width: | Height: | Size: 383 KiB |
|
Before Width: | Height: | Size: 576 KiB |
|
Before Width: | Height: | Size: 559 KiB |
|
Before Width: | Height: | Size: 809 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 155 KiB |
@@ -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
@@ -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
|
||||||
14
update_git
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
RECUPERER NOUVELLE VERSION
|
||||||
|
git fetch
|
||||||
|
|
||||||
|
INSTALLER NOUVELLE VERSION
|
||||||
|
git pull origin main
|
||||||
|
|
||||||
|
AJOUTER TOUS LES FICHIERS A L'ARBRE DE DIFFERENTIATION DU GIT
|
||||||
|
git add .
|
||||||
|
|
||||||
|
PRENDRE TOUS LES FICHIERS DE L'ARBRE COURANT POUR EN FAIRE UNE VERSION
|
||||||
|
git commit -m "mesage du commit"
|
||||||
|
|
||||||
|
ENVOYER MES COMMITS LOCAUX AU DOSSIER PARTAGE DISTANT
|
||||||
|
git push -u origin main
|
||||||