Skip to content
Snippets Groups Projects
Commit 7d1a854f authored by David Hendriks's avatar David Hendriks
Browse files

added cosmic sfh

parent b3a34a91
No related branches found
No related tags found
No related merge requests found
...@@ -900,6 +900,21 @@ def flatsections(x: float, opts: dict) -> Union[float, int]: ...@@ -900,6 +900,21 @@ def flatsections(x: float, opts: dict) -> Union[float, int]:
# Star formation histories # Star formation histories
######################################################################## ########################################################################
def cosmic_SFH_madau_dickinson2014(z):
"""
Cosmic star formation history distribution from Madau & Dickonson 2014 (https://arxiv.org/pdf/1403.0007.pdf)
Args:
z: redshift
Returns:
Cosmic star formation rate in Solarmass year^-1 megaparsec^-3
"""
CSFH = 0.015 * ((1+z)**2.7)/(1+(((1+z)/2.9)**5.6))
return CSFH
######################################################################## ########################################################################
# Metallicity distributions # Metallicity distributions
######################################################################## ########################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment