pyacs.gts.lib.primitive.extrapolate module
- pyacs.gts.lib.primitive.extrapolate.extrapolate(self, idates, kind='linear')[source]
Extrapolate the time series at dates outside the observation span.
- Parameters:
idates (list or ndarray) – Dates in decimal year where extrapolation will be performed.
kind (str, optional) – Interpolation kind for scipy.interpolate.interp1d (e.g. ‘linear’, ‘nearest’, ‘cubic’).
- Returns:
New Gts with extrapolated values at the given dates.
- Return type: