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
OFFSET [] none Offset in seconds to shift the data in time.
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 3542afe99dea25c636b7ac3b82a9f6f8be9d447d
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team