DanielAndreasen / pyStar

Learn what is to be learned from a star

Repository from Github https://github.comDanielAndreasen/pyStarRepository from Github https://github.comDanielAndreasen/pyStar

Build Status Codacy Badge Codacy Badge

GitHub license GitHub license GitHub license GitHub license

pyStar

I want a module that does star-stuff. I give it data (colours, asteroseismic, spectrocopic, etc.) and it give me results like Teff, logg, age, mass, etc.

This is an open project. If any are interested in helping feel free to contact me, open an issue, or create a pull request.

Installation

Things you need is python3.6 and the modules listed in the requirements.txt. It is recommended to install by running this command: pip install git+https://github.com/DanielAndreasen/pyStar and then import star for all its glory. This will also take care of any requirements not installed on your system.

Usage

pyStar.py is the main module. See the example in the end of the file.

The other files are classes to deal with the responsibility for other stuff. These also have examples at the end of the file.

Spectroscopy

A function to showcase this class has been added. Simply run:

from star import spectroscopy
spectroscopy.example()

About

Learn what is to be learned from a star

License:MIT License


Languages

Language:Python 100.0%