Skip to main content

A Python Package for Galaxy Cold Molecular Gas and Star Formation Evolution Equations.

Project description

A simple introduction:

This Python package provides functions to calculate a galaxy’s cold molecular gas mass to stellar mass ratio (gas fraction), cold molecular gas depletion time and galaxy main-sequence star formation rate.

The motivation is that the evolution of star-forming galaxies’ star formation rate (SFR) and cold molecular gas reservoir have now been reasonably well measured out to very high redshift (z~6), from present time up to as early as one giga-year after the Big Bang (Madau & Dickinson 2014; Genzel et al. 2015; Scoville et al. 2016, 2017; Tacconi et al. 2018; Liu et al. 2018, 2019). These studies have found that the majority of galaxies have a steady and parametrizable evolution in their stellar mass growth, SFR, and molecular gas mass (or molecular gas to total baryon fraction, i.e., gas fraction). These evolution functions have provided crucial constraints to cosmological simulations of dark matter halo evolution and the semi-analytic modeling of the simulated galaxy evolution in the dark matter halo (e.g., Popping et al. 2014ab, 2016, 2017, 2019ab). However, currently there are many parametrizations (or we say “equations”) in the literature and each has its own limitation which is not very well aware by the generic users. Therefore, we provide this Python package which contains as many galaxy gas, dust, star formation and stellar mass evolution equations as possible for easier comparison and study.

A simple usage:

To get cold molecular gas density evolution curve, e.g., Fig. 15 of D. Liu et al. (2019b)

import a3cosmos_gas_evolution
a3cosmos_gas_evolution.help()
z, rho_mol_gas = a3cosmos_gas_evolution.get_cosmic_mol_gas_density_A3COSMOS() # return rho_mol_gas in solar mass per cubic mega parsec.
z, rho_mol_gas = a3cosmos_gas_evolution.get_cosmic_mol_gas_density_Tacconi2018() # return rho_mol_gas in solar mass per cubic mega parsec.
z, rho_mol_gas = a3cosmos_gas_evolution.get_cosmic_mol_gas_density_Scoville2017() # return rho_mol_gas in solar mass per cubic mega parsec.
a3cosmos_gas_evolution.plot_cosmic_mol_gas_density() # or plot it with matplotlib

To compute gas fraction, i.e., M_molgas / (M_molgas + M_star)

import a3cosmos_gas_evolution
a3cosmos_gas_evolution.help()
a3cosmos_gas_evolution.calc_gas_fraction_A3COSMOS(z = 3.0, lgMstar = 10.5, DeltaMS = 0.5) # or we can input cosmic_age = 2.178 instead of z = 3.0
a3cosmos_gas_evolution.calc_gas_fraction_Tacconi2018(z = 3.0, lgMstar = 10.5, DeltaMS = 0.5)
a3cosmos_gas_evolution.calc_gas_fraction_Scoville2017(z = 3.0, lgMstar = 10.5, DeltaMS = 0.5)

To compute gas depletion time, i.e., M_molgas / SFR

import a3cosmos_gas_evolution
a3cosmos_gas_evolution.help()
a3cosmos_gas_evolution.calc_gas_depletion_time_A3COSMOS(z = 3.0, lgMstar = 10.5, DeltaMS = 0.0)
a3cosmos_gas_evolution.calc_gas_depletion_time_Tacconi2018(z = 3.0, lgMstar = 10.5, DeltaMS = 0.0)
a3cosmos_gas_evolution.calc_gas_depletion_time_Scoville2017(z = 3.0, lgMstar = 10.5, DeltaMS = 0.0)

To compute galaxy main-sequence star formation rate, i.e., SFR_MS

import a3cosmos_gas_evolution
a3cosmos_gas_evolution.help()
a3cosmos_gas_evolution.calc_SFR_MS_Speagle2014(z = 3.0, lgMstar = 10.5)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a3cosmos_gas_evolution-0.9.9.tar.gz (60.9 kB view details)

Uploaded Source

Built Distributions

a3cosmos_gas_evolution-0.9.9-py3.7.egg (134.9 kB view details)

Uploaded Egg

a3cosmos_gas_evolution-0.9.9-py3-none-any.whl (74.7 kB view details)

Uploaded Python 3

File details

Details for the file a3cosmos_gas_evolution-0.9.9.tar.gz.

File metadata

  • Download URL: a3cosmos_gas_evolution-0.9.9.tar.gz
  • Upload date:
  • Size: 60.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for a3cosmos_gas_evolution-0.9.9.tar.gz
Algorithm Hash digest
SHA256 fed141bff76aba3db1b33f946ce4a4d5fb3802696bf8ac81ef53f57abc9fe3eb
MD5 4051a72a24b5ee7e1925f1d686c13e47
BLAKE2b-256 b1502f19d804e9642285cb3c525b5f84700a21335acd5cf698d6bdb0a93f3113

See more details on using hashes here.

File details

Details for the file a3cosmos_gas_evolution-0.9.9-py3.7.egg.

File metadata

  • Download URL: a3cosmos_gas_evolution-0.9.9-py3.7.egg
  • Upload date:
  • Size: 134.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for a3cosmos_gas_evolution-0.9.9-py3.7.egg
Algorithm Hash digest
SHA256 430a1099e7319a362caa24777ea9612406b49a1f9f2eb19e9097feb544d7d0fe
MD5 e231baae192eea5464e3c071f9aaea45
BLAKE2b-256 b1b125bd7decd430311cf5c658b502f5824b354017bf1229dbfc7409fc6ee150

See more details on using hashes here.

File details

Details for the file a3cosmos_gas_evolution-0.9.9-py3-none-any.whl.

File metadata

  • Download URL: a3cosmos_gas_evolution-0.9.9-py3-none-any.whl
  • Upload date:
  • Size: 74.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for a3cosmos_gas_evolution-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3968b6bbd727321d59c30446f28ad0c6f4703b3375ae298a4c65ff2238b98977
MD5 56165fe99992eeb257ba0374871e2262
BLAKE2b-256 0f101cd7f28a2f71e03ba213f82481a703cf8eb995d1d35e43947a80d55d9d8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page