densegastoolbox2

Newest version of DGT with larger model grids and optical depth as free parameter

https://github.com/astrojohannes/densegastoolbox2

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Newest version of DGT with larger model grids and optical depth as free parameter

Basic Info
  • Host: GitHub
  • Owner: astrojohannes
  • Language: Python
  • Default Branch: master
  • Size: 217 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

Dense Gas Toolbox

DOI: 10.5281/zenodo.3686329

Aim

Calculate density and temperature from observed molecular emission lines, using radiative transfer models.

Method

Our models assume that the molecular emission lines emerge from a multi-density medium rather than from a single density alone. The density distribution is assumed to be log-normal or log-normal with a power-law tail. The parameters (density, temperature, width of density distribution and line optical depths) are inferred using Bayesian statistics, i.e. Markov chain Monte Carlo (MCMC).

Results

Given an ascii table of observed molecular intensities [K km/s], the results (mass-weighted mean density, temperature, width of the density distribution and line optical depths) are saved in an output ascii file. Furthermore, diagnostic plots are created to assess the quality of the fit/derived parameters.


VERSION HISTORY

  • Dec 15, 2024 | Version 2.1

    • Updated model grids, also including (4-3) transitions
    • MCMC bugfix by Soren to avoid walkers getting stuck in low-prob. regions
  • May 24, 2024 | Version 2.0 (first v2 release)

    • Updated model grid (emmisivities) stored in 2 pickle files (32GB each)
    • New models allow to vary line optical depths or leave optical depths as free parameter that is inferred
    • Models available for the following molecular lines (up to dJ=3-2): 12CO, HCN, HCO+, 13CO, C18O
    • Temperatures range from 10 to 30K (in steps of 5K)
    • The widths of the density distributions range from 0.2 to 0.8dex (in steps of 0.1dex)
    • Available line optical depths (tau) are: Low: [0.1,0.2,0.3] for 13CO and C18O Mid: [0.8,1.1,1.5] for HCN and HCO+ High: [5.0,6.5,8.0] for 12CO
    • See "example.py" for how to use the Dense Gas Toolbox. It's easy!

Owner

  • Name: Johannes
  • Login: astrojohannes
  • Kind: user
  • Company: University

post-doc

Citation (CITATION)

Cite as:

@software{Puschnig2024,
  author       = {Johannes Puschnig},
  title        = {Dense Gas Toolbox v2.0},
  month        = Sep,
  year         = 2024,
  publisher    = {Zenodo},
  version      = {v2.0},
  doi          = {10.5281/zenodo.3686329},
  url          = {https://doi.org/10.5281/zenodo.3686329}
}

GitHub Events

Total
  • Push event: 1
  • Public event: 1
  • Fork event: 1
Last Year
  • Push event: 1
  • Public event: 1
  • Fork event: 1

Dependencies

requirements.txt pypi
  • PTMCMCSampler ==2.1.2
  • Requests ==2.32.3
  • SciPy ==1.11.1
  • corner ==2.2.2
  • dask ==2024.4.1
  • emcee ==3.1.6
  • h5py *
  • matplotlib ==3.8.2
  • numpy ==1.24.4
  • pandas ==1.5.3
  • psutil ==5.9.8
  • setuptools *
  • tabulate ==0.9.0
  • tqdm *
  • wheel *