Method ao/timeshift


  TIMESHIFT for AO/tsdata objects, shifts data in time by the specified value in seconds.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: TIMESHIFT for AO/tsdata objects, shifts data in time by the
               specified value.
 
  This method does no fancy interpolation it just shifts the start time of
  the first sample by the given amount relative to t0.
  
  Providing an empty value for the offset (the default value) results in
  the special behaviour of subtracting the first x value from all the x
  values, such that the x vector starts at 0.
  
  
 
  CALL:        b = timeshift(a, offset)
               bs = timeshift(a1,a2,a3, offset)
               bs = timeshift(a1,a2,a3,...,pl)
               bs = timeshift(as,pl)
               bs = as.timeshift(pl)
 
  INPUTS:      aN   - input analysis objects
               as   - input analysis objects array
               pl   - input parameter list
 
  OUTPUTS:     bs   - array of analysis objects, one for each input
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
timeshift
OFFSET [] none Offset in seconds to shift the data in time.

Example

plist('OFFSET', [[]])

back to top back to top

Some information of the method ao/timeshift are listed below:
Class name ao
Method name timeshift
Category Helper
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team