The module aspylib.cdr has been written to process the measured lightcurves and extract some useful information from them. The following operations can be done in AsPyLib v1.2.1:
Time corrections
For periodic lightcurves
In the future the module may be extended to contain more functionalities (fit of exoplanet transits, search for multiple non-harmonic periods, etc). It has been named “cdr” to remind the website CdR-CdL (“courbe de rotation, courbe de luminosite” in French) from Raoul Behrend.
To avoid any confusion we give here the definitions of a few terms which are commonly used in the documentation of AsPyLib.
“Instrumental magnitude” refers to the magnitude that is obtained directly with the equations of aperture photometry. For a given star it is equal to -2.5*log(flux) with “flux” being the sum of all star pixels, after subtraction of the level of the sky background in each pixel. The instrumental magnitude of a star is the first measured quantity, and does not represent anything useful. It may vary considerably during the night, depending on the variations of air mass and sky transparency.
“Differential magnitude” is obtained by taking the difference between the star instrumental magnitude, and the average instrumental magnitude of a small set of “reference stars”. This subtraction removes all effects linked to the observation conditions (air mass, transparency...). At first order, for a given star (assuming it is not variable) the differential magnitude should be approximately constant. In practice it is common to observe a slow drift, due to color differences between the measured and reference stars. The differential magnitude depends on the choice of reference stars, and still cannot be compared to values from a catalog.
The lightcurve information should be provided to AsPyLib in text files following a strict format. This format is compatible with the CourbRot software: this means that you can also send your files to Raoul Behrend and your measurements will be probably included in the CdR-CdL database !
Here’s an example:
The file must be in plain text (= non-formatted). It has two parts: a header part, followed by a data part.
Header part
Mandatory keywords
Data part