edges_analysis.filters.lst_model.TotalPowerAggregator.aggregate¶
- TotalPowerAggregator.aggregate(data: Sequence[str | Path | GSData]) ndarray | list[ndarray] ¶
Aggregate a set of data files over frequency.
- Parameters:
data – A sequence of data files to use to obtain the metric over which to filter.
- Returns:
gha – The GHA’s at which the aggregated metric is measured. Sorted in ascending order.
metric – The aggregated metric at each GHA.
indx_map – A list of integer arrays that give the index of each file’s GHAs back to the sorted array.