pyrfu.pyrf.calc_dt module#

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

Computes time step of the input time series.

Parameters:

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

Returns:

out – Time step in seconds.

Return type:

float