lsst_inaf_agile.lightcurve

Lightcurve module for the different objects.

Attributes

logger

LCB

Functions

get_lightcurve_agn(mjd0, mjd, flux, band, z, mag_i, ...)

Return an AGN light-curve in flux units.

get_lightcurve_cepheid(mjd0, mjd, flux, band, z, y, ...)

Return a cepheid light-curve.

get_lightcurve_lpv(mjd0, mjd, flux, band, pmode, ...)

Return an LPV light-curve.

get_lightcurve_binary(mjd0, mjd, flux1, flux2, ...[, ...])

Return the primary and secondary lightcurves for the binary system.

Module Contents

logger[source]
get_lightcurve_agn(mjd0, mjd, flux, band, z, mag_i, logMbh, type2, T=3653, deltatc=1, seed=None, meanmag=None, lambda_rest=None)[source]

Return an AGN light-curve in flux units.

get_lightcurve_cepheid(mjd0, mjd, flux, band, z, y, logte, logl, mass, pmode, period, seed=None)[source]

Return a cepheid light-curve.

get_lightcurve_lpv(mjd0, mjd, flux, band, pmode, period, is_c_rich, seed=None)[source]

Return an LPV light-curve.

LCB[source]
get_lightcurve_binary(mjd0, mjd, flux1, flux2, radius1, radius2, p, a, i, e, t0, t1, seed=None, filename=None, overwrite=False, return_full=False)[source]

Return the primary and secondary lightcurves for the binary system.

Parameters:
  • mjd0 – reference mjd

  • mjd – mjd of the observation

  • flux1 – flux of the primary star

  • flux2 – flux of the secondary star

  • radius1 – radius of the primary star in Rsun

  • radius2 – radius of the secondary star in Rsun

  • p – period of the system in units of mjd

  • a – orbital semi-major axis of the system in Rsun

  • i – orbital inclination of the system in degrees e.g. 90 = edge-on

  • e – orbital eccentricity of the system

  • t0 – time of the primary transit in units of mjd e.g. period * 0.25

  • t1 – time of the secondary in units of mjd e.g. period * 0.75

  • seed – random number seed to offset the phase curve

  • filename – write the lightcurve to an output file

  • overwrite (bool) – overwrite the potentially existing lightcurve on the disk

  • return_full (bool) – return the full lightcurve instead of the point estimate

Returns:

lc – Combined lightucrve of the primary and secondary in the same units as flux1 and flux2.

Return type:

float