edges_cal.modelling.PhysicalLin
- class edges_cal.modelling.PhysicalLin(*, parameters=None, n_terms=_Nothing.NOTHING, with_cmb=False, f_center=75.0, transform: ModelTransform = _Nothing.NOTHING)[source]
Foreground model using a linearized physical model of the foregrounds.
Methods
__init__(*[, parameters, n_terms, with_cmb, ...])Method generated by attrs for class PhysicalLin.
at(**kwargs)Get an evaluated linear model.
fit(xdata, ydata[, weights])Create a linear-regression fit object.
from_str(model, **kwargs)Obtain a
Modelgiven a string name.get_basis_term(indx, x)Define the basis functions of the model.
get_basis_term_transformed(indx, x)Get the basis term after coordinate transformation.
Get a 2D array of all basis terms at
x.with_nterms([n_terms, parameters])Return a new
Modelwith given nterms and parameters.with_params(parameters)Get new model with different parameters.
Attributes