Skip to content

About

Database and sample notebooks for SPHINX20

Resources

Stars

19 stars

Watchers

11 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

SPHINX20 Public Data Release

This repository contains intrinsic and mock observations for a large sample of galaxies from the SPHINX20 cosmological simulation. For simulation details, please refer to Rosdahl et al. 2018 and Rosdahl et al. 2022. For information regarding the data release, please refer to Katz et al. 2023

Downloading the data

Downloading the data is as simple as cloning this repository. Note however that the full spectra are stored on git lfs and this has to be installed in order to access them. A standard git clone will copy everything other than the spectra and the repository will simply contain a pointer to the location of the spectra files on lfs. If you try to decompress these files, it will result in an error. Instead, using 'git lfs clone' should download all the data and then the spectra files can be decompressed.

Directory Structure

  • data
    • all_basic_data.csv → CSV file containing all of the data for each halo at each redshift listed in the Table below
    • spectra → Intrinsic and dust attenuated spectra split into JSON files for each redshift. Haloes are keyed by their halo ID. All spectra have been redshifted to the value in the filename and we assume that the IGM is 100% opaque to photon with wavelength <1216.67 Å. The file includes separate contributions from stellar continuum, nebular continuum, and nebular emission lines at a resolution of 1 Å. Wavelength units are in microns (observed frame) and spectral units are in erg/s/Hz/cm2. Note that these files will need to be decompressed before than can be used and they result in a size of a few GB. They are currently stored on git LFS rather than in the main repo but will be downloaded when cloning.
    • galaxy_sizes → This directory contains two sets of files. morph_z{redshift}.json and morph_z{redshift}_1500A.json. The former contains the galaxy sizes (circularized half light radii in physical kpc) and fluxes (nJy) for the main segment output by PHOTUTILS. This is done for every JWST NIRCam medium and wide filter. The latter contains the same information but for the stellar+nebular continuum at 1500 Å. Note that the fluxes will differ from all_basic_data.csv because these are relevent only for the main segment of the galaxy. In both files, haloes are keyed by halo ID.
    • SFHs → Star formation histories for all galaxies binned on 1 Myr time scales. There is one JSON file per redshift and haloes are keyed by halo ID. The units are solar masses/yr of stars forming in each bin.
    • MHs → Stellar metallicity histories for all galaxies binned on 1 Myr time scales. There is one JSON file per redshift and haloes are keyed by halo ID. The values represent the mean mass-weighted stellar metallicity of all star particles that formed within the bin. These can be resampled to larger timescales by calculating the stellar mass formed in the bin using the data in the SFHs directory. The units are absolute metallicity (i.e. Z).
    • lya_ha_spec_profs → Lyα and Hα spectra and radial surface brightness profiles. These are only available for redshifts 4.64, 5, and 6. JSON files are provided per redshift and per line. Bin widths are provided for both the spectrum and the radial profile. Units are in log10 erg/s in each bin for each viewing angle. Note that these files will need to be decompressed before than can be used.
  • notebooks → a suite of IPython notebook examples for how to use the data

Description of quantities in all_basic_data.csv

Quantity Description
halo_id Halo ID
redshift Redshift
x x position (Box units)
y y position (Box units)
z z position (Box units)
mvir log10 Halo Mass (Msun)
rvir Virial Radius (Box units)
stellar_mass log10 Stellar Mass (Msun) - integral of SFH
sfr_3 SFR averaged over 3 Myr (Msun/yr)
sfr_5 SFR averaged over 5 Myr (Msun/yr)
sfr_10 SFR averaged over 10 Myr (Msun/yr)
sfr_100 SFR averaged over 100 Myr (Msun/yr)
ionizing_luminosity log10 Total Ionizing Luminosity (phot/s)
gas_metallicity log10 Gas Metallicity (Zsun) mass-weighted
stellar_metallicity log10 Stellar Metallicity
mean_stellar_age_mass Mass weighted stellar age (Myr)
mean_stellar_metallicity_mass Mass weighted stellar metallicity log10 (Zsun)
mean_stellar_age_lion Ionizing luminosity weighted stellar age (Myr)
mean_stellar_metallicity_lion Ionizing luminosity weighted stellar metallicity log10 (Zsun)
{Element}_{Ion}_{Wavelength}_int Intrinsic line luminosity (erg/s)
gas_metallicity_Hb log10 Gas Metallicity (Zsun) Hβ-weighted
gas_metallicity_5007 log10 Gas Metallicity (Zsun) [OIII] 5007-weighted
gas_metallicity_6583 log10 Gas Metallicity (Zsun) [NII] 6583-weighted
gas_metallicity_3727 log10 Gas Metallicity (Zsun) [OII] 3727-weighted
gas_density_3727 log10 Gas Density (H/cc) [OII] 3727-weighted
gas_density_1908 log10 Gas Density (H/cc) [CIII] 1908-weighted
f_esc log10 LyC escape fraction (photons with E > 13.6eV)
fesc_dir_{dir} LyC escape fraction (photons at 900 angstrom)
{Element}{Ion}_{Wavelength}_int Intrinsic line luminosity (erg/s) - for lines with dust RT
{Element}{Ion}_{Wavelength}_dir_{dir} Dust attenuated line luminosity (erg/s) - for lines with dust RT
ebmv_dir_{dir} E (B-V)
cont_{Wavelength}_int Intrinsic stellar continuum - f_lambda (erg/s/A)
cont_{Wavelength}_dir_{dir} Dust attenuated stellar continuum - f_lambda (erg/s/A)
nebc_{Wavelength}_int Intrinsic nebular continuum - f_lambda (erg/s/A)
cont_{Wavelength}_dir_{dir} Dust attenuated nebular continuum - f_lambda (erg/s/A)
MAB_1500_int Intrinsic AB magnitude at 1500 angstrom (stellar + nebular)
MAB_1500_dir_{dir} Dust attenuated AB magnitude at 1500 angstrom (stellar + nebular)
xi_ion Intrinsic ionizing photon production efficiency (Hz*erg/s)
beta_int_s Intrinsic UV slope (stellar continuum)
beta_int_sn Intrinsic UV slope (stellar + nebular continuum)
beta_dir_{dir}_sn Dust attenuated UV slope (stellar + nebular continuum)
{filter}_dir_{dir} Dust attenuated JWST NIRCam AB filter magnitude
{filter}_int Intrinsic JWST NIRCam AB filter magnitude

About

Database and sample notebooks for SPHINX20

Resources

Stars

19 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages