pint.templates.lctemplate

Normalized template representing directional data

Implements a mixture model of LCPrimitives to form a normalized template representing directional data.

author: M. Kerr <matthew.kerr@gmail.com>

Functions

adaptive_samples(func, npt[, log10_ens, nres])

func should have a .cdf method.

check_gradient_derivative(templ)

get_2pb([pulse_frac, lorentzian])

Convenience function to get a 2 Lorentzian + Gaussian bridge template.

get_gauss1([pulse_frac, x1, width1])

Return a one-gaussian template.

get_gauss2([pulse_frac, x1, x2, ratio, ...])

Return a two-gaussian template.

isvector(x)

make_twoside_gaussian(one_side_gaussian)

Make a two-sided gaussian with the same initial shape as the input one-sided gaussian.

prim_io(template[, bound_eps])

Read files and build LCPrimitives.

Classes

GaussianPrior(locations, widths, mod[, mask])

LCTemplate(primitives[, norms, cache_kwargs])

Manage a lightcurve template (collection of LCPrimitive objects).