layout | title | nav_exclude |
---|---|---|
default |
Readme |
true |
Astrocook
A thousand ways to cook a spectrum!
Getting Started
To get a copy of Astrocook on your local machine:
git clone https://github.com/DAS-OATs/astrocook
Prerequisites
Astrocook requires the following packages to run:
- Astropy 3.2.2
- SciPy 1.3.1
- Specutils 0.6
- NumPy 1.17.3
- LmFit 0.9.14
- Cycler 0.10.0
- StatsModels 0.10.1
- matplotlib 3.1.1
- Sphinx 2.2.0
- tqdm 4.36.1
Running the software
The Astrocook user manual is under construction. In the meanwhile, you can try the following commands:
python mock_demo.py
, which creates a mock spectrum, plots it and saves it into an Astrocook archive (.acs).python ac_gui.py
, which launches the (self-explaining) Astrocook GUI to perform the analysis.
A note on .acs archive: they are normal tarballs containing all the products of an analysis session (spectrum, optional list of lines and absorption systems, etc.) in FITS format. To extract an .acs archive: tar -zxvf [name].acs
.
More information coming soon!
Contributing
A CONTRIBUTING.md file will be soon uploaded to detail our code of conduct and the process for submitting pull requests to us.
Authors
Releases
v0.1 - Start of the project v0.2 - First release with a DOI; GUI available; tools for finding lines, determining continuum, and fitting systems v0.3 – Transition to Python 3; complete makeover of classes and methods
License
Astrocook is licensed under the GNU General Public License (GPLv3).
Acknowledgments
The project is carried out at INAF-OATs with the contributions of Stefano Cristiani and Giuliano Taffoni.