pynbody.snapshot.gadgethdf#
Implements reading HDF5 Gadget files, in various variants.
The gadget array names are mapped into pynbody array names according
to the mappings given by the config.ini section [gadgethdf-name-mapping]
.
The gadget particle groups are mapped into pynbody families according
to the mappings specified by the config.ini section [gadgethdf-type-mapping]
.
This can be many-to-one (many gadget particle types mapping into one
pynbody family), but only datasets which are common to all gadget types
will be available from pynbody.
Spanned files are supported. To load a range of files snap.0.hdf5
, snap.1.hdf5
, … snap.n.hdf5
,
pass the filename snap
. If you pass e.g. snap.2.hdf5
, only file 2 will be loaded.
Functions
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Carbon CIV |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Neutral Hydrogen HI use limited CLOUDY table |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Neutral Hydrogen HI use limited CLOUDY table, using the Duffy +12a prescription for selfshielding |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Number of HII ions per proton mass |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Neutral Hydrogen HI use limited CLOUDY table, assuming dense EoS gas is selfshielded |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Helium HeI |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Helium HeII |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Number of HeIII ions per proton mass |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Magnesium MgII |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Nitrogen NV |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Oxygen OI |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Oxygen OII |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Oxygen OVI |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Fraction of Silicon SiIV |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Turbulent amplitude C_N^2 for use in SM calculations (e.g. Eqn 20 of Macquart & Koay 2013 ApJ 776 2). |
|
|
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Cosmological Dispersion measure per SPH particle includes (1+z) factor, currently ignoring n_e contribution from He |
|
|
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Dispersion measure per SPH particle currently ignoring n_e contribution from He |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Doppler Redshift from LoS Velocity 'losvel' using SR |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Emission Measure (n_e^2) per particle to be integrated along LoS |
|
|
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: H alpha intensity (based on Emission Measure n_e^2) per particle to be integrated along LoS |
|
|
|
|
|
|
|
|
|
|
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Number of electrons per proton mass, ignoring the contribution from He! |
|
|
|
|
|
|
|
|
|
|
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Calculate the pressure for gas particles, including polytropic equation of state gas |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Redshift from LoS Velocity 'losvel' |
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Electron number density per SPH particle, currently ignoring the contribution from He! |
|
|
|
|
|
|
|
Derived [GadgetHDFSnap, SubFindHDFSnap]: Gas internal energy derived from snapshot variable or temperature |
Classes
|
Reads Eagle-like HDF snapshots (download at http://data.cosma.dur.ac.uk:8080/eagle-snapshots/) |
|
Class that reads HDF Gadget snapshots. |
|
Reads the variant of Gadget HDF snapshots that include SubFind output inside the snapshot itself. |