Metadata-Version: 2.4
Name: cometspec
Version: 0.1.1
Summary: Fluorescence modeling and MCMC fitting for cometary spectra.
Author-email: Baltasar Luco <baltasarluco@uc.cl>
License: MIT
Project-URL: Homepage, https://cometspec.readthedocs.io/
Project-URL: Source, https://github.com/baltasarluco/CometSpec
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.22
Requires-Dist: scipy>=1.7
Requires-Dist: pandas>=1.5
Requires-Dist: matplotlib>=3.5
Requires-Dist: astropy>=5.0
Requires-Dist: specutils>=1.10
Requires-Dist: sbpy>=0.4
Requires-Dist: emcee>=3.1
Requires-Dist: corner>=2.2
Requires-Dist: tqdm>=4.60
Requires-Dist: tables>=3.7
Requires-Dist: threadpoolctl>=3.0
Requires-Dist: multiprocess>=0.70
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx<9,>=7.0; extra == "docs"
Requires-Dist: furo>=2024.1; extra == "docs"
Requires-Dist: sphinx-copybutton>=0.5; extra == "docs"
Dynamic: license-file

# CometSpec

Fluorescence modeling and MCMC fitting for cometary spectra.

- **Documentation:** [https://cometspec.readthedocs.io/en/latest/](https://cometspec.readthedocs.io/en/latest/)
- **Source code:** [https://github.com/baltasarluco/CometSpec](https://github.com/baltasarluco/CometSpec)

A usage example is provided in `WorkFlow_Example/` as a Jupyter notebook called `WorkFlow.ipynb`, and `Test_getting_started.ipynb` are the cells on the documentation.

For citation information, see the [Citation page in the documentation](https://cometspec.readthedocs.io/en/latest/citation.html).

Data DOI: [10.5281/zenodo.19801569](https://zenodo.org/records/19801569)


---

## Install

```bash
pip install cometspec
```

Or install from source:

```bash
git clone https://github.com/baltasarluco/CometSpec.git
cd CometSpec
pip install .
```

---

## Roadmap

CometSpec is under active development. Planned additions include:

- **Dust and solar continuum** — model the underlying continuum alongside emission lines
- **More molecules** — extend beyond CN, C₂, Fe to other cometary species and polishing of existing line lists.
- **Non-equilibrium and non-LTE models** — go beyond fluorescence equilibrium to model more complex excitation conditions
- **Nested sampling** — add nested sampling as an alternative or complement to MCMC for posterior estimation

If you are interested in collaborating, feel free to reach out at [baltasarluco@uc.cl](mailto:baltasarluco@uc.cl).

---

## Contact

For questions, suggestions, or bug reports, open an issue on [GitHub](https://github.com/baltasarluco/CometSpec/issues) or contact [baltasarluco@uc.cl](mailto:baltasarluco@uc.cl).

## Version 0.1.1 what's new:

- We add the possibility to include the $\rm X^2 \Sigma^+$ rovibrational transitions of CN.
- We improve the mcmc plotting, which was previously hidding some labels for some corner cases.
- We changed two parameter names: 
    - `logQ` is now `f_col`. In order to avoid confusion between collisions and production rates.
    - `q` is now `logQ` to clarify that the production rate is in log scale.
    - In relation top both changes, any `_err`, `_iso` or other parameter directly related to the old`logQ` or `q` has been renamed accordingly.
    
