Skip to main content

A Python Package for Galaxy Cold Molecular Gas Density Esimtation from CO Excitation.

Project description

A simple introduction:

This Python package provides functions to estimate a galaxy’s cold molecular gas mean density and kinetic temperature using Carbon Monoxide (CO) molecular line flux density ratio.

The motivation is that the galaxies emit CO spectral lines, and different transition of CO lines have different strength. The line ratio is affected by the cold molecular gas density and kinetic temperature. At global galaxy scales, the observed line ratio can probe the mean molecular gas density and temperature to some extent. Based on the work of Liu et al. (2020) who compiled the CO J=5-4 / J=2-1 (R52) line ratios in a sample of galaxies from local Universe to high redshift, a density probability distribution function (PDF) gas modeling has been studied and found promising in linking observed galaxy CO line ratios to physical cold molecular gas mean density and kinetic temperature. The highlight of this work is that it uses a density PDF to simulate the gas density distribution in a galaxy, thus provide more realistic CO excitation than single-state gas large velocity gradient radiative transfer modeling. See Leroy et al. (2017) <https://ui.adsabs.harvard.edu/abs/2017ApJ…835..217L/abstract> for a similar density-PDF gas modeling work. This code is thus based on the Liu et al. (2020) model grid and can convert an input CO line ratio to a fitting range of cold molecular gas density and kinetic temperature.

A simple usage:

To input a CO J=5-4/J=2-1 line ratio (in Jy km s-1 units), and output cold molecular gas mean density (<nH2>) and kinetic temperature (Tkin) ranges:

import co_excitation_gas_modeling as coexc
coexc.help()
fit_result = coexc.fit_line_ratio(z=4.755, R72=0.86/0.09, e_R72=0.01).help()
print(fit_result)
print(fit_result['lg_nH2'])
print(fit_result['T_kin'])

Future work:

A future work will be conducted to fit CO spectral line energy distribution.

Acknowledgement:

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

co_excitation_gas_modeling-0.0.1.tar.gz (109.8 kB view details)

Uploaded Source

Built Distributions

co_excitation_gas_modeling-0.0.1-py3.7.egg (117.1 kB view details)

Uploaded Source

co_excitation_gas_modeling-0.0.1-py3-none-any.whl (109.4 kB view details)

Uploaded Python 3

File details

Details for the file co_excitation_gas_modeling-0.0.1.tar.gz.

File metadata

  • Download URL: co_excitation_gas_modeling-0.0.1.tar.gz
  • Upload date:
  • Size: 109.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.7

File hashes

Hashes for co_excitation_gas_modeling-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1406f6388b05d4447d464ac5c21008effa013340a13e51a91b4ed1fe136f586b
MD5 e46f27752ede1cf2ae5f157d1a0b9a23
BLAKE2b-256 d6a5a48094606cd98feb464b54885dcf3f128459d521093cbf59d859c31c05f1

See more details on using hashes here.

File details

Details for the file co_excitation_gas_modeling-0.0.1-py3.7.egg.

File metadata

  • Download URL: co_excitation_gas_modeling-0.0.1-py3.7.egg
  • Upload date:
  • Size: 117.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.7

File hashes

Hashes for co_excitation_gas_modeling-0.0.1-py3.7.egg
Algorithm Hash digest
SHA256 c23b2ac46bb5f2c1676737bfe4e5d73bf9393841c9af8670fab767662af0d51d
MD5 0630c2f25195829d0c821b170d486706
BLAKE2b-256 0aa77e45ea0b6a7401090a151a373a61295ca10829ae214da24485044ff20867

See more details on using hashes here.

File details

Details for the file co_excitation_gas_modeling-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: co_excitation_gas_modeling-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 109.4 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.7

File hashes

Hashes for co_excitation_gas_modeling-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a29f67e9d1b72fe4704a37f87624b796fe629a1d8511da6cdf1f5fcc567ecff5
MD5 5a4a45730f1d3cef12b2bee850f64f74
BLAKE2b-256 856400751a8dbf1b3025d9ae7546690f825dd353a0781b37192e923a19b8071c

See more details on using hashes here.

Supported by

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