arrakihs/ParticlesToSurfaceBrightnessbd3c93b0e31cmaster
ParticlesToSurfaceBrightness
Readme
- Note : this is now obsolete.
- use https://lastro.epfl.ch/projects/pNbody//rst/MockImages/SurfaceBrightnessMaps.html
- instead
requirement : pNbody https://lastro.epfl.ch/projects/pNbody/
- download snapshots containing only stars
- we need to find another repo for big data
stars_1keV_1000kpc.hdf5 stars_3keV_1000kpc.hdf5 stars_10keV_1000kpc.hdf5 stars_30keV_1000kpc.hdf5
- add additional information (age, magnitudes, html)
./arrakihs_addfields.py -o stars_1keV_1000kpc.hdf5 stars_1keV_1000kpc.hdf5 ./arrakihs_addfields.py -o stars_3keV_1000kpc.hdf5 stars_3keV_1000kpc.hdf5 ./arrakihs_addfields.py -o stars_10keV_1000kpc.hdf5 stars_10keV_1000kpc.hdf5 ./arrakihs_addfields.py -o stars_30keV_1000kpc.hdf5 stars_30keV_1000kpc.hdf5
- compute a set of images
./arrakihs_compute_images.py --telescope arrakihs_vis --filter F475X --fov 5000 --distance 25 --frsp 0.25 --nlos 16 -o F475X_1keV.pkl stars_1keV_1000kpc.hdf5 ./arrakihs_compute_images.py --telescope arrakihs_vis --filter VISeuclid --fov 5000 --distance 25 --frsp 0.25 --nlos 16 -o VISeuclid_3keV.pkl stars_3keV_1000kpc.hdf5 ./arrakihs_compute_images.py --telescope arrakihs_vis --filter Yeuclid --fov 5000 --distance 25 --frsp 0.25 --nlos 16 -o Yeuclid_1keV.pkl stars_1keV_1000kpc.hdf5 ./arrakihs_compute_images.py --telescope arrakihs_vis --filter Jeuclid --fov 5000 --distance 25 --frsp 0.25 --nlos 16 -o Jeuclid_1keV.pkl stars_1keV_1000kpc.hdf5
- display or save images in the pkl file
./arrakihs_show_images.py F475X_1keV.pkl -o F475X_1keV.png ./arrakihs_show_images.py VISeuclid_3keV.pkl -o VISeuclid_3keV.png ./arrakihs_show_images.py Yeuclid_1keV.pkl -o Yeuclid_1keV.png ./arrakihs_show_images.py Jeuclid_1keV.pkl -o Jeuclid_1keV.png
- compute and compare the fraction of illuminated pixels
./arrakihs_compute_illuminated.py -o F475X_coverage_fraction.png F475X_1keV.pkl F475X_3keV.pkl F475X_10keV.pkl F475X_30keV.pkl ./arrakihs_compute_illuminated.py -o VISeuclid_coverage_fraction.png VISeuclid_1keV.pkl VISeuclid_3keV.pkl VISeuclid_10keV.pkl VISeuclid_30keV.pkl ./arrakihs_compute_illuminated.py -o Yeuclid_coverage_fraction.png Yeuclid_1keV.pkl Yeuclid_3keV.pkl Yeuclid_10keV.pkl Yeuclid_30keV.pkl ./arrakihs_compute_illuminated.py -o Jeuclid_coverage_fraction.png Jeuclid_1keV.pkl Jeuclid_3keV.pkl Jeuclid_10keV.pkl Jeuclid_30keV.pkl