edges_cal.xrfi.ModelFilterInfoContainer
- class edges_cal.xrfi.ModelFilterInfoContainer(models: list[edges_cal.xrfi.ModelFilterInfo] = <factory>)[source]
A container of
ModelFilterInfo
objects.This is almost a perfect drop-in replacement for a singular
ModelFilterInfo
instance, but combines a number of them together seamlessly. This can be useful if several sub-models were fit to one long stream of data.Methods
__init__
([models])append
(model)Create a new object by appending a set of info to the existing.
from_file
(fname)Create an object from a given file.
get_absres_model
([indx])Get the model of the absolute residuals.
get_model
([indx])Get the model values.
get_residual
([indx])Get the residual values.
write
(fname)Write the object to a file.
Attributes
The raw data that was filtered.
The returned flags on each iteration.
The number of flags changed on each filtering iteration.
The number of iterations of the filtering.
The standard deviations at each datum for each iteration.
The threshold at each iteration.
The total number of flags after each iteration.
The data coordinates.