edges_analysis.filters.lst_model.TotalPowerAggregator

class edges_analysis.filters.lst_model.TotalPowerAggregator(band: tuple[float, float] = (0, inf), model: Model = FourierDay(parameters=None, n_terms=40, transform=IdentityTransform()), init_threshold: float = 1.0)[source]

An aggregator that fits a model and yields the mean over a given freq range.

Methods

__init__([band, model, init_threshold])

Method generated by attrs for class TotalPowerAggregator.

aggregate(data)

Aggregate a set of data files over frequency.

aggregate_file(data)

Compute the total power over frequency for each integration in a file.

get_init_flags(gha, metric)

Compute the inital flags based on the power in a simulated spectra.

Attributes

band

model

init_threshold