museopheno.time_series.SmoothSignal.double_logistic¶
-
SmoothSignal.
double_logistic
(X, kind='cubic', interpolation_params={})[source]¶ Generate a double logistic curve similar to those of the MODIS phenology product.
- Parameters
X (array_like) – A N-D array of real values. The length of y along the interpolation axis must be equal to the length of dates.
kind (str, default 'linear') – Specifies the kind of interpolation as a string (‘linear’, ‘nearest’, ‘zero’, ‘slinear’, ‘quadratic’, ‘cubic’, ‘previous’, ‘next’, where ‘zero’, ‘slinear’, ‘quadratic’ and ‘cubic’ refer to a spline interpolation of zeroth, first, second or third order; ‘previous’ and ‘next’ simply return the previous or next value of the point) or as an integer specifying the order of the spline interpolator to use. Default is ‘linear’.