RAMjET

ramjet.photometric_database.light_curve

Code for a class to represent a light curve. See the contained class docstring for more details.

Module Contents

Classes

LightCurve A class to represent a light curve. A light curve is a collection of data which may includes times, fluxes,
class LightCurve[source]

Bases: abc.ABC

A class to represent a light curve. A light curve is a collection of data which may includes times, fluxes, flux errors, and related values.

fluxes :np.ndarray

The fluxes of the light curve.

Returns:The fluxes.
times :np.ndarray

The times of the light curve.

Returns:The times.
__init__(self)[source]

Initialize self. See help(type(self)) for accurate signature.

convert_column_to_relative_scale(self, column_name: str)[source]

Converts a column to relative scale.

Parameters:column_name – The name of the column to be converted.
convert_columns_to_relative_scale(self, column_names: List[str])[source]

Converts multiple columns to relative scale.

Parameters:column_names – The list of names of columns to be converted.
convert_to_relative_scale(self)[source]

Converts the light curve to relative scale.