pyrfu.pyrf.time_clip#

pyrfu.pyrf.time_clip(inp, tint)[source]#

Time clip the input (if time interval is TSeries clip between start and stop).

Parameters:
Returns:

out – Time series of the time clipped input, with the times in [t_start, t_stop] (inclusive). All the coordinates are kept, and the time dependent ones are clipped. For a Dataset, the array_like attributes with a first dimension the length of time are clipped too.

Return type:

xarray.DataArray or xarray.Dataset