Models

These classes provide model functions and also set up grid over the parameters spaces of the models and provide log(prior) values for those parameter spaces.

Note

In the future a general model class should be created containing the common methods. These can then be inherited by specific model classes.

The Flare Model

This class provides a flare model in which the flare light curve has a Gaussian rise and an exponential decay as given by

\[m(t, \tau_g, \tau_e, T_0) = A_0 \begin{cases} e^{-(t-T_0)^2/(2\tau_g^2)} & \textrm{if } t \le T_0, \\ e^{-(t-T_0)/\tau_e} & \textrm{if } t > T_0, \end{cases}\]

where \(\tau_g\) is the width of the Gaussian rise, \(\tau_e\) is the time constant of the exponential decay, \(T_0\) is the time of the flare peak, and \(A_0\) is the peak amplitude.

In this class the parameter space grid and prior is set up such that \(\tau_e > \tau_g\).

The Transit Model

This class provides a generic transit model. It is not the fully physical model of [1], but is instead a simple model with Gaussian wings and a flat trough.

The parameter space grid and prior is set up such that the total length on the transit does not exceed a given value.

General models

These classes provide models for a range of generic signal types. These can be used either as signal or noise models when forming an odds ratio.

Exponential decay/rise

A class giving a model with exponential decay or rise.

Impulse

A class giving a model with a delta-function-like (single bin) impulse.

Gaussian

A class giving a model with a Gaussian profile.

References

[1]Mandel and Agol, Ap. J. Lett., 580 (2002), arXiv:astro-ph/0210099.