HERA-Team/hera_pspec

`Nan` handling in `average_spectra`

Opened this issue · 0 comments

grouping.average_spectra will spread any np.nans in the data being averaged to everywhere in the average. Should we enforce a no nan rule in the input data or should we make sure to exclude nans from the averages, effectively treating them as flagged?