pyrfu.pyrf.calc_dt module#

pyrfu.pyrf.calc_dt.calc_dt(inp: Dataset | DataArray) float[source]#

Compute time step of the input time series.

Parameters:

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

Returns:

Time step in seconds.

Return type:

float