edges_cal.modelling

Functions for generating least-squares model fits for linear models.

Functions

LogPoly(**kwargs)

A factory function for a LogPoly model.

get_mdl(model)

Get a linear model class from a string input.

get_mdl_inst(model, **kwargs)

Get a model instance from given string input.

tuple_converter(x)

Convert input to tuple of floats.

Classes

CentreTransform(*, range[, centre])

ComplexMagPhaseModel(mag, phs)

A composite model that is specifically for complex functions in mag/phase.

ComplexRealImagModel(real, imag)

A composite model that is specifically for complex functions in real/imag.

CompositeModel(*, models[, extra_basis])

EdgesPoly(*[, parameters, n_terms, ...])

Polynomial with an offset corresponding to approximate galaxy spectral index.

FixedLinearModel(*, model, x[, init_basis])

A base class for a linear model fixed at a certain set of co-ordinates.

Foreground(*[, parameters, n_terms, ...])

Base class for Foreground models.

Fourier(*[, parameters, n_terms, transform, ...])

A Fourier-basis model.

FourierDay(*[, parameters, n_terms, transform])

A Fourier-basis model with period of 24 (hours).

IdentityTransform()

LinLog(*[, parameters, n_terms, with_cmb, ...])

Log10Transform(*[, scale])

A transform that takes the logarithm of the input.

LogTransform(*[, scale])

A transform that takes the logarithm of the input.

Model(*[, parameters, n_terms, transform])

A base class for a linear model.

ModelFit(model, ydata[, weights])

A class representing a fit of model to data.

ModelTransform()

NoiseWaves(*, freq, gamma_src, gamma_rec[, ...])

PhysicalLin(*[, parameters, n_terms, ...])

Foreground model using a linearized physical model of the foregrounds.

Polynomial(*[, parameters, n_terms, ...])

A polynomial foreground model.

ScaleTransform(*, scale)

ShiftTransform(*[, shift])

UnitTransform(*, range)

A transform that takes the input range down to -1 to 1.

ZerotooneTransform(*, range)

A transform that takes an input range down to (0,1).