edges_cal.xrfi.ModelFilterInfo

class edges_cal.xrfi.ModelFilterInfo(n_flags_changed: list[int], total_flags: list[int], models: list[edges_cal.modelling.Model], res_models: list[edges_cal.modelling.Model] | None, n_iters: int, thresholds: list[float], stds: list[numpy.ndarray[float]], x: ndarray, data: ndarray, flags: list[numpy.ndarray[bool]])[source]

A simple object representing the information returned by model_filter().

Methods

__init__(n_flags_changed, total_flags, ...)

from_file(fname[, group])

Create the object by reading from a HDF5 file.

get_absres_model([indx])

Get the model of the absolute residuals.

get_model([indx])

Get the model values.

get_residual([indx])

Get the residuals.

write(fname[, group])

Write the object to a HDF5 file.

Attributes

n_flags_changed

total_flags

models

res_models

n_iters

thresholds

stds

x

data

flags