Shift Adjustment of Time Series Data
shiftAdjustment(TimeSeriesMath
tsData)
Derive a new time series data set by linear interpolation of values in the current time series data set at the times defined by the time series data set tsData. If times in the new time series precede the first data point in the current time series, the value for these times is set to 0.0. If times in the new time series occur after the last data point in the current time series, the value for these times is set to the value of the last point in the current time series. Interpolation of values with the shiftAdjustment function is shown below.

Interpolation of Time Series Values using Shift Adjustment Function
Both time series data sets may be regular or irregular interval. Interpolated points must be bracketed or coincident with valid (not missing) values in the original time series, otherwise the values are set as missing.
Parameters:
tsData – A regular or irregular interval time series data set.
Example:
tsInterp = tsValues.shiftAdjustment(tsData)
Returns: A new TimeSeriesMath object.