timeseries#

Module timeseries

Contains the class TimeSeries

Module Contents#

Classes#

TimeSeries

class TimeSeries

API#

class timeseries.TimeSeries(data=None, dt=0)#

class TimeSeries

Used to encapsulate data in the time domain associated to the time step. The class provides basic functions for the statistical analysis of time series.

data#

data array containing the time series.

Type:

np.ndarray

dt#

time step (in hours).

Type:

float

Initialization

__str__()#
std()#

Compute the standard deviation of the data

mean()#

Computes the mean value of the data

time()#

Computes the time vector with increment dt