edges_cal.modelling.LinLog
- class edges_cal.modelling.LinLog(*, parameters=None, n_terms=_Nothing.NOTHING, with_cmb=False, f_center=75.0, transform: ModelTransform = _Nothing.NOTHING, beta=-2.5)[source]
Methods
__init__
(*[, parameters, n_terms, with_cmb, ...])Method generated by attrs for class LinLog.
at
(**kwargs)Get an evaluated linear model.
fit
(xdata, ydata[, weights])Create a linear-regression fit object.
from_str
(model, **kwargs)Obtain a
Model
given 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
Model
with given nterms and parameters.with_params
(parameters)Get new model with different parameters.
Attributes