Package enrichpy :: Module enrichment :: Class EnrichmentHistory

Class EnrichmentHistory

source code

                 object --+    
                          |    
cosmolopy.saveable.Saveable --+
                              |
                             EnrichmentHistory

Calculate CIV histories based on ionization.
Instance Methods
 
__init__(self, ionHist, f_x_Z, z_change=None, f_change=None, delay_kernel=None)
Calculate instantaneos histories based on ionization.
source code
 
calculate_Omega_Z(self) source code
 
convolve(self)
Convolve delay curve with metal histories. Convolve Omega_Z with delay curve to produce Omega_Z_convolved.
source code
 
binned_Omega_Z(self, zmin, zmax, useConvolved=True) source code
 
fit_f_change(self, z_bin, Omega_Z_obs, min_f_change=0.0, max_f_change=None, useConvolved=True)
Fit f_change to an observed value of Omega_Z_obs in redshift bin z_bin[0]--z_bin[1].
source code
 
fit_f_x_Z(self, z_bin, Omega_Z_obs, min_f_x_Z=0.0, max_f_x_Z=None, useConvolved=True)
Fit f_x_Z to an observed value of Omega_Z_obs in redshift bin z_bin[0]--z_bin[1].
source code

Inherited from cosmolopy.saveable.Saveable: __getstate__, __setstate__, dumb_pickle_filter, load, save

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, ionHist, f_x_Z, z_change=None, f_change=None, delay_kernel=None)
(Constructor)

source code 

Calculate instantaneos histories based on ionization.

Enrichment parameters enter here, e.g. f_x_Z, z_change, f_change.

Omega_Z is fraction of critical density contributed by metals = nz * mz / rho_crit.

Z can just as well represent a specific metal element or ionization species given the appropriatly decreased f_x_Z.

Overrides: object.__init__