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
VERSION: $Id: timeshift.m,v 1.34 2012/02/27 08:53:53 hewitson Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
ao |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
OFFSET |
[] |
none |
Offset in seconds to shift the data in time. |
back to top
Some information of the method ao/timeshift are listed below: |
Class name |
ao |
Method name |
timeshift |
Category |
Helper |
CVS Version |
$Id: timeshift.m,v 1.34 2012/02/27 08:53:53 hewitson Exp $ |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: ao/t0 |
|
Method: ao/toffset |
 |
©LTP Team