Skip to content

nmiller95/teb

Repository files navigation

astropy License: MIT

teb: Temperatures for Eclipsing Binary stars

teb is a Python package that calculates fundamental effective temperatures for solar-type stars in eclipsing binary systems using photometry, Gaia parallax and radii. The full method is described in Miller, Maxted & Smalley (2020).

Installation

Clone the repository:

$ git clone https://github.com/nmiller95/teb.git

Then use pip to install the requirements.txt file

$ python3 -m pip install -r requirements.txt

teb was developed in Python 3.7.

Usage

Set up the configuration yaml files with your parameters then run the main script.

$ python3 teb.py -c <configfile> -p <photometryfile> -f <frpfile>

To save the command line output to a log file for longer runs, use

$ nohup python3 teb.py -c <configfile> -p <photometryfile> -f <frpfile> > & output.log &

You can make an empty set of configuration files using the command

$ python3 teb.py -m <newfile>

Full details of the usage can be found with the help command

$ python3 teb.py --help

A note on stellar models

Two sources of model SED are supported in teb.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Temperatures of Eclipsing Binary stars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages