pyrfu.pyrf.calc_fs module#

pyrfu.pyrf.calc_fs.calc_fs(inp)[source]#

Computes the sampling frequency of the input time series.

Parameters:

inp (xarray.DataArray or xarray.Dataset) – Time series of the input variable.

Returns:

out – Sampling frequency in Hz.

Return type:

float