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).
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.
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
Two sources of model SED are supported in teb
.
- BT-Settl
- Detailed logg-Teff coverage
- Asplund et al (2009) abundances
- [M/H] from 0.5 to -4.0 supported
- BT-Settl-CIFIST
- Detailed logg-Teff coverage
- Caffau et al (2011) abundances
- Only [M/H] = 0.0 supported
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.