Compute the perturbation from the mean of a time series.
ts (array_like) – The time series from which you wish to find the perturbation
time series (perturbation from the mean).
array_like – The perturbation time series.
axis (int) – The index of the time axis. Default is -1
The perturbation time series produced by this function is defined as
the perturbations about the mean: