Package pycosmicstar :: Module cosmicstarformation :: Class cosmicstarformation
[hide private]
[frames] | no frames]

Class cosmicstarformation

source code


The Cosmic Star Formation rate
The model used to develop this class was presented by the first time
in the article of Pereira and Miranda (2010) - (MNRAS, 401, 1924, 2010).

The cosmologic background model is passed as a instance parameter:
    cosmology

Keyword arguments:
    tau -- (default - 2.5) time scale, in Gyr, of the CSFR.

    eimf -- (default 1.35) exponent of the Initial Mass Function

    nsch -- (default 1) the normalization factor in the CSFR model

    imfType -- (default S - Salpeter) the Initial Mass Function Type.
               Possible values:
                   S: Salpeter
                   K: Kroupa

    lmin -- (default 6.0) log10 of the minal mass of the dark halo
                        where it is possible to have star formation.

    zmax -- (defaul 20.0) - the maximum redshift to be considered

    omegam -- (default 0.24) - The dark matter parameter

    omegab -- (default 0.04) - The barionic parameter

    omegal -- (default 0.73) - The dark energy parameter

    h -- (default 0.7) - The h of the Hubble constant (H = h * 100)

    massFunctionType -- (default "ST") The type of mass
    function of dark matter halos used. Possibles values:
         "ST" for Seth and Thormen mass function.
         "TK" for Tinker et al. mass function.

Instance Methods [hide private]
 
__init__(self, cosmology, tau=2.29, eimf=1.35, nsch=1, lmin=6.0, zmax=20.0, imfType='S', **kwargs) source code
 
getIMFDict(self)
Return a list with keys and functions of IMF's
source code
 
putIMFDict(self, key, value)
Put a new term in the imf Dictionary
source code
 
__spn(self, a)
Return the interpolated, by cubi-spline, barionic accretion rate into structures
source code
 
__fcn(self, a, rho_g)
Return the numerical function to be integrated to calculate the mass density of barions into structures.
source code
 
__csfr_gas(self, rg)
Return the Cosmic Star Formation Rate from the barionic gas into structures
source code
 
__sfr(self)
Return the Cosmic Star Formation rate, density of barionic gas into structures
source code
 
__massEjectedSalpeter(self, m_min) source code
 
__massEjected(self, m_min)
Return the mass integration of the mass ejected by the collapse of the star
source code
 
__mPhi(self, m) source code
 
__mrPhi(self, m) source code
 
remnant(self, m)
Return the remnant mass of the object after the colapse of the star with mass m
source code
 
__imfKroupa(self, m) source code
 
__imfSalpeter(self, m) source code
 
phi(self, m)
Return the Initial Mass Function
source code
 
cosmicStarFormationRate(self, z)
Return the Cosmic Star Formation rate as a function of z
source code
 
gasDensityInStructures(self, z)
Return the barionic gas density into structures
source code

Inherited from structures.structures: abt, fbstruc, fstm, getCacheDir, getDeltaHTinker, getmassFunctionDict, halos_n, massFunction, numerical_density_halos, setDeltaHTinker, setMassFunctionDict, setQBurrFunction

Inherited from structures.structures (private): _burrBq, _masFunctionWT0

Method Details [hide private]

__init__(self, cosmology, tau=2.29, eimf=1.35, nsch=1, lmin=6.0, zmax=20.0, imfType='S', **kwargs)
(Constructor)

source code 
Overrides: structures.structures.__init__

cosmicStarFormationRate(self, z)

source code 

Return the Cosmic Star Formation rate as a function of z

Overrides: structuresabstract.structuresabstract.cosmicStarFormationRate

gasDensityInStructures(self, z)

source code 

Return the barionic gas density into structures

Overrides: structuresabstract.structuresabstract.gasDensityInStructures