Metadata-Version: 2.1
Name: ISMgas
Version: 0.0.1
Summary: ISMgas is a python module used to analyze absorption line kinematics of Interstellar Medium gas. The module takes a 1D spectra as an input and extracts key kinematic diagnostics (such as velocity centroid of absorption) by fitting the absorption profile with multiple gaussian profiles. 
Author-email: "Keerthi Vasan G.C." <kvch@ucdavis.edu>
Project-URL: Homepage, https://github.com/kvgc/ISMgas
Project-URL: Issues, https://github.com/kvgc/ISMgas/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# ISMgas

ISMgas is a python module used to analyze absorption line kinematics of Interstellar Medium gas. The module takes a 1D spectra as an input and extracts key kinematic diagnostics (such as velocity centroid of absorption) by fitting the absorption profile with multiple gaussian profiles. 


### Module flowchart 
```mermaid
flowchart TD
    spectra[1d reduced spectra] --> preprocess(preprocess)
    preprocess --> ISMgas[ISMgas module]
    ISMgas --> combine[Combine ISM lines using spectra.AnalyzeSpectra]
    combine --> fitting[fit ISM lines with a single or double gaussian using fitting.DoubleGaussian]
    GalaxyProps[Galaxy properties] -.- ISMgas
    Support[Supporting functions] -.- ISMgas
    global[globalVars] -.- ISMgas
    linelist[linelist] -.- ISMgas
```

### Tutorials
- [Fit a double Gaussian to an absorption profile using ISMgas.fitting](fitting/README.md)
- [Introduction to the ISMgas.AnalyzeSpectra baseclass](spectra/README.md)


### Papers using ISMgas 

- ['Resolved velocity profiles of galactic winds at Cosmic Noon' by Vasan G.C., et al (2022)](https://ui.adsabs.harvard.edu/abs/2022arXiv220905508K/abstract).

