DanielAndreasen / mass_radius

get the mass and radius of the stars from the Padova interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mass_radius

Get the stellar mass and radius from the Padova interface

Create a file 'star' and fill with the parameters: star name, V magnitude, parallax, error in parallax, temperature, error in temperature, metallicity, error in metallicity. The file 'star' is given as an example. This code will return the mass and radius from the Padova interface (http://stev.oapd.inaf.it/cgi-bin/param) in the 'mass_radius.txt' file.

Run:

python get_mass_radius.py

About

get the mass and radius of the stars from the Padova interface

License:MIT License


Languages

Language:Python 100.0%