In file cepheids.zip we provide the light curve template coefficients along with Fortran and IDL routines to calculate the templates for any period (10 < P < 100 days) and any of the filters in our paper. Files with full versions of the TeX tables with parameters of individual Cepheids in Galaxy, LMC, and SMC. (Corrected July 12 2012: individual Cepheids parameter files now match the published version)
main.f
and cepheidtemplate.f
- Fortran code that produces template light curves for any period and any of
the
bands in our paper. The procedure to build templates for any new band is described in our paper. The code can be compiled by writing make get_template
. The code asks for period in days and the identification number of the filter (see Table 3 of our paper or vector.dat
which is also included). The template is returned in file fort.13
.
period.f
- Fortran code that takes input photometry and (optional) radial velocity measurements and finds the best fit period and reference
time as well as accurate mean magnitudes in all supplied filters. The code uses our light curve templates and hence mean magnitudes are calculated even for
bands with a single datapoint.
get_template.pro
- IDL equivalent of the Fortran code. Implemented as a function that calculates light, radius and temperature curves for
a given period in days and filter identification number.
vector.dat
- Table 3 of our paper in machine-readable form. Includes also period-radius and period-temperature relations (Eq. 20 in our paper).
template.dat
- Table 4 of our paper in machine-readable form.