A code to derive the ISM properties of galaxies
Project description
General purpose and references
In this repository you can find the Python code that will allow you to derive the gas density, metallicity, and deviations from the Kennicutt-Schmidt relation of a galaxy with known star formation rate surface density (Sigma_SFR) and [CII] and [OIII] surface brightness.
Details on the rationale, the model implementation, and on the equations are discussed in the following papers:
The repository contains the following files:
-
ExampleNotebook-v2.ipynb, a Jupyter Notebook exemplifying how to set your input data, run the MCMC model, and plot the resulting likelihood distribution for the gas density, gas metallicity, and deviation from the Kennicutt-Schmidt relation.
-
cooling_rates.py, emission_models.py, empirical.py, ion_structure.py gather all the analytical equations (mostly from Ferrara et al. 2019) for the calculation of the [CII] and [OIII] surface brightnesses.
-
MCMC_routines.py gathers all the routines related to the implementation of the Markov Chain Monte Carlo algorithm.
You can clone (or download) the entire repository and try the model with input data and priors of your choice.
Requirements
The code runs in Python 3.0. The modules require numpy, scipy, matplotlib, Pyneb, emcee, corner.
The codes can also run in Python 2.7. Tested with emcee==3.0.2
Acknowledging this code in Scientific Publications
@ARTICLE{Ferrara:2019,
author = { {Ferrara}, A. and {Vallini}, L. and {Pallottini}, A. and {Gallerani}, S. and {Carniani}, S.
and {Kohandel}, M. and {Decataldo}, D. and {Behrens}, C.},
title = "{A physical model for [C II] line emission from galaxies}",
journal = {\mnras},
year = 2019,
month = oct,
volume = {489},
number = {1},
pages = {1-12},
doi = {10.1093/mnras/stz2031},
archivePrefix = {arXiv},
eprint = {1908.07536},
primaryClass = {astro-ph.GA},
adsurl = {https://ui.adsabs.harvard.edu/abs/2019MNRAS.489....1F},
}
@ARTICLE{Vallini2021,
author = {{Vallini}, L. and {Ferrara}, A. and {Pallottini}, A. and {Carniani}, S. and {Gallerani}, S.},
title = "{High [OIII]/[CII] surface brightness ratios trace early starburst galaxies}",
journal = {arXiv e-prints},
keywords = {Astrophysics - Astrophysics of Galaxies},
year = 2021,
month = jun,
eid = {arXiv:2106.05279},
pages = {arXiv:2106.05279},
archivePrefix = {arXiv},
eprint = {2106.05279},
primaryClass = {astro-ph.GA},
adsurl = {https://ui.adsabs.harvard.edu/abs/2021arXiv210605279V},
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
}
Funding
This work is supported by the ERC Advanced Grant INTERSTELLAR H2020/740120 (PI: Ferrara).
Part of the work of LV has been supported by funding from the EU Horizon 2020 research and innovation program under the Marie Sklodowska-Curie Grant agreement No. 746119.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file astroglam-0.0.11.tar.gz.
File metadata
- Download URL: astroglam-0.0.11.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
107b440714452a2510d9ef6375cc99572b246ab2b47b8d8714f735858fb98a0b
|
|
| MD5 |
7b573f4524b1e82957a9e40fde6effc4
|
|
| BLAKE2b-256 |
54a5cd707bebbc4f053ba68f12271bf886651fad69845c585292fce2ec32fe11
|
File details
Details for the file astroglam-0.0.11-py3-none-any.whl.
File metadata
- Download URL: astroglam-0.0.11-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52c9ae748d9807a5aa7839f4ec79b8237142bc7384c4c7e584bc2024d2675802
|
|
| MD5 |
0dee2ce9bd3440af3f0117221036cec3
|
|
| BLAKE2b-256 |
aeb3127e09e9f1c0bd4695725226615cb4264b85e4de151b5fca1eed84690760
|