sdhdf.flagging

SDHDF flagging utilities

Exceptions

AutoFlagError

Common base class for all non-exit exceptions.

Functions

box_filter(spectrum[, sigma, n_windows])

Filter a spectrum using a box filter.

get_persistent_rfi(→ pandas.DataFrame)

Read persistent RFI file

Module Contents

exception sdhdf.flagging.AutoFlagError(msg)[source]

Bases: Exception

Common base class for all non-exit exceptions.

msg[source]
sdhdf.flagging.box_filter(spectrum: numpy.ndarray | xarray.DataArray, sigma=3, n_windows=100)[source]

Filter a spectrum using a box filter.

sdhdf.flagging.get_persistent_rfi(telescope: str = 'Parkes') pandas.DataFrame[source]

Read persistent RFI file Returns:

pd.Dataframe: Persistent RFI data.