arrakihs/StellarHalo41db3603f3bamaster
StellarHalo
Readme
GOAL: disantangle between DMO based on stellar halo properties
- Tue 15 Aug 10:52:18 CEST 2023
- on se concentre que sur la halo
- on garde tout pour r<75 kpc
DATA/stars_1keV_75kpc_n05.hdf5 DATA/stars_3keV_75kpc_n05.hdf5 DATA/stars_10keV_75kpc_n05.hdf5 DATA/stars_30keV_75kpc_n05.hdf5
- 30.5 magnitudes correspond à env. 70 kpc/h (101 kpc) pour le halo
- Quelle est la différence physique entre les 2 modèles ?
- entre 50 et 60 kpc, on voit une différence (mais pas dans le bon ordre)
- sur le profile de densité
./pSphericalProfile -o density --xmax 100 --rmax 100 --nr 256 --legend --log y \ DATA/stars_1keV_1000kpc_n05.hdf5 \ DATA/stars_3keV_1000kpc_n05.hdf5 \ DATA/stars_10keV_1000kpc_n05.hdf5 \ DATA/stars_30keV_1000kpc_n05.hdf5
./pSphericalProfile -o density --xmax 100 --rmax 100 --nr 256 --legend --log y \ DATA/stars_1keV_70kpc_n05.hdf5 \ DATA/stars_3keV_70kpc_n05.hdf5 \ DATA/stars_10keV_70kpc_n05.hdf5 \ DATA/stars_30keV_70kpc_n05.hdf5
- brillance de area
mockimgs_sb_compute_images DATA/stars_1keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/1keV_VIS_CCD273-84_35Mpc.fits mockimgs_sb_compute_images DATA/stars_3keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/3keV_VIS_CCD273-84_35Mpc.fits mockimgs_sb_compute_images DATA/stars_10keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/10keV_VIS_CCD273-84_35Mpc.fits mockimgs_sb_compute_images DATA/stars_30keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/30keV_VIS_CCD273-84_35Mpc.fits
- brillance de area pour model tronqué
mockimgs_sb_compute_images DATA/stars_1keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/1keV_VIS_CCD273-84_35Mpc_70kpc.fits mockimgs_sb_compute_images DATA/stars_3keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/3keV_VIS_CCD273-84_35Mpc_70kpc.fits mockimgs_sb_compute_images DATA/stars_10keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/10keV_VIS_CCD273-84_35Mpc_70kpc.fits mockimgs_sb_compute_images DATA/stars_30keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 1 -o fits/30keV_VIS_CCD273-84_35Mpc_70kpc.fits
./mockimgs_fits_manip fits/1keV_VIS_CCD273-84_35Mpc_70kpc.fits -o qq1keV.fits ./mockimgs_fits_manip fits/3keV_VIS_CCD273-84_35Mpc_70kpc.fits -o qq3keV.fits ./mockimgs_fits_manip fits/10keV_VIS_CCD273-84_35Mpc_70kpc.fits -o qq10keV.fits ./mockimgs_fits_manip fits/30keV_VIS_CCD273-84_35Mpc_70kpc.fits -o qq30keV.fits
ds9 qq1keV.fits qq3keV.fits qq10keV.fits qq30keV.fits
./mockimgs_fits_histogram qq1keV.fits qq3keV.fits qq10keV.fits qq30keV.fits
"halo" plus étendu ? (/home/revaz/Projects/ARRAKIHS/repo/arrakihs/ParticlesToareaBrightness/arrakihs_compute_illuminated.py)
./mockimgs_fits_compute_area \ fits/1keV_VIS_CCD273-84_35Mpc_70kpc.fits \ fits/3keV_VIS_CCD273-84_35Mpc_70kpc.fits \ fits/10keV_VIS_CCD273-84_35Mpc_70kpc.fits \ fits/30keV_VIS_CCD273-84_35Mpc_70kpc.fits
- multiple images
- limit to 70kpc
mockimgs_sb_compute_images DATA/stars_1keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/1keV_VIS_CCD273-84_35Mpc_70kpc.pkl mockimgs_sb_compute_images DATA/stars_3keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/3keV_VIS_CCD273-84_35Mpc_70kpc.pkl mockimgs_sb_compute_images DATA/stars_10keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/10keV_VIS_CCD273-84_35Mpc_70kpc.pkl mockimgs_sb_compute_images DATA/stars_30keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/30keV_VIS_CCD273-84_35Mpc_70kpc.pkl
./mockimgs_pkl_compute_area \ pkl/1keV_VIS_CCD273-84_35Mpc_70kpc.pkl \ pkl/3keV_VIS_CCD273-84_35Mpc_70kpc.pkl \ pkl/10keV_VIS_CCD273-84_35Mpc_70kpc.pkl \ pkl/30keV_VIS_CCD273-84_35Mpc_70kpc.pkl
- multiple images
- no limit
mockimgs_sb_compute_images DATA/stars_1keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/1keV_VIS_CCD273-84_35Mpc.pkl mockimgs_sb_compute_images DATA/stars_3keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/3keV_VIS_CCD273-84_35Mpc.pkl mockimgs_sb_compute_images DATA/stars_10keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/10keV_VIS_CCD273-84_35Mpc.pkl mockimgs_sb_compute_images DATA/stars_30keV_1000kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/30keV_VIS_CCD273-84_35Mpc.pkl
./mockimgs_pkl_compute_area \ pkl/1keV_VIS_CCD273-84_35Mpc.pkl \ pkl/3keV_VIS_CCD273-84_35Mpc.pkl \ pkl/10keV_VIS_CCD273-84_35Mpc.pkl \ pkl/30keV_VIS_CCD273-84_35Mpc.pkl
- Check is the orientation has an influence on the
- extension of the halo
in "aligned/"
cp
glups -> self.nb.align_with_main_axis()
self.nb.rotate(axis='y',angle=np.pi/2)
-> estimate the size of the halo
mockimgs_sb_compute_images aligned/stars_1keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 0 1 0 -o qq_1.fits mockimgs_sb_compute_images aligned/stars_3keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 0 1 0 -o qq_2.fits mockimgs_sb_compute_images aligned/stars_10keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 0 1 0 -o qq_3.fits mockimgs_sb_compute_images aligned/stars_30keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 0 1 0 -o qq_4.fits
mockimgs_sb_compute_images aligned/stars_1keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 1 0 0 -o qq_1.fits mockimgs_sb_compute_images aligned/stars_3keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 1 0 0 -o qq_2.fits mockimgs_sb_compute_images aligned/stars_10keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 1 0 0 -o qq_3.fits mockimgs_sb_compute_images aligned/stars_30keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --los 1 0 0 -o qq_4.fits
mockimgs_sb_compute_images aligned/stars_1keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o qq.fits
./mockimgs_fits_compute_area qq_1.fits qq_2.fits qq_3.fits qq_4.fits
mockimgs_sb_compute_images aligned/stars_1keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/1keV_VIS_CCD273-84_35Mpc.pkl mockimgs_sb_compute_images aligned/stars_3keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/3keV_VIS_CCD273-84_35Mpc.pkl mockimgs_sb_compute_images aligned/stars_10keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/10keV_VIS_CCD273-84_35Mpc.pkl mockimgs_sb_compute_images aligned/stars_30keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 --nlos 9 -o pkl/30keV_VIS_CCD273-84_35Mpc.pkl
./mockimgs_pkl_compute_area \ pkl/1keV_VIS_CCD273-84_35Mpc.pkl \ pkl/3keV_VIS_CCD273-84_35Mpc.pkl \ pkl/10keV_VIS_CCD273-84_35Mpc.pkl \ pkl/30keV_VIS_CCD273-84_35Mpc.pkl
estimate a dispersion along a given axis
mockimgs_sb_compute_images aligned/stars_1keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 -p params.yml -o pkl/1keV_VIS_CCD273-84_35Mpc_EO20.pkl mockimgs_sb_compute_images aligned/stars_3keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 -p params.yml -o pkl/3keV_VIS_CCD273-84_35Mpc_EO20.pkl mockimgs_sb_compute_images aligned/stars_10keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 -p params.yml -o pkl/10keV_VIS_CCD273-84_35Mpc_EO20.pkl mockimgs_sb_compute_images aligned/stars_30keV_70kpc_n05.hdf5 --instrument arrakihs_vis_GAIA_VIS --distance 35 -p params.yml -o pkl/30keV_VIS_CCD273-84_35Mpc_EO20.pkl
./mockimgs_pkl_compute_area $SCRATCH/pkl/*keV_VIS_CCD273-84_35Mpc_EO10.pkl