LTPDA Toolbox™ | contents | ![]() ![]() |
SPLIT splits a ltpda_container object into the specified segments. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SPLIT splits a ltpda_container object into the specified segments. CALL: out = split(in, pl); Note: this is just a wrapper of ao/split. Each AO in the ltpda_container is passed to split with the input plist. INPUTS: in - input ltpda_container objects pl - parameter list OUTPUTS: out - output ltpda_container objects Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | ltpda_container |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
Default |
By Times |
By Offsets |
By Frequencies |
By Samples |
By Time Length |
By Length |
By Chunks |
By Interval Start/End |
By Interval Start/Duration |
By Interval Timespan |
By Matching |
Default |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
TIMES | [] | none | Split the ao into time segments. An array of start/stop times to split by. The times should be relative to the object reference time (t0). |
Example |
---|
plist('TIMES', [[]]) |
By Times |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
TIMES | [] | none | Split the ao into time segments. An array of start/stop times to split by. The times should be relative to the object reference time (t0). |
Example |
---|
plist('TIMES', [[]]) |
By Offsets |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
OFFSETS | [] | none | Split the ao into time segments. An array of start/stop offsets to split by. Positive offsets are relative to the first sample. A negative offset is taken from the end of the vector. For example [10 -10] removes 10 seconds from the beginning and end of the vector. An end time of 0 indicates the end of the vector. |
Example |
---|
plist('OFFSETS', [[]]) |
By Frequencies |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
FREQUENCIES | [] | none | An array of start/stop frequencies to split by. |
Example |
---|
plist('FREQUENCIES', [[]]) |
By Samples |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
SAMPLES | [] | none | An array of start/stop samples to split by. |
Example |
---|
plist('SAMPLES', [[]]) |
By Time Length |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
TIME LENGTH | [] | none | Split ao into segments of length N seconds. |
ROUND TIME | 1 |
|
Rounds the time to multiple of fs (N*fs). |
SELECT OBJECT | [] | none | This parameter is usually used by the rebuild method. With this parameter can you define the index which object of the output objects you want to get back. |
Example |
---|
plist('TIME LENGTH', [[]], 'ROUND TIME', [true], 'SELECT OBJECT', [[]]) |
By Length |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
LENGTH | [] | none | Split ao into segments of length N samples. |
Example |
---|
plist('LENGTH', [[]]) |
By Chunks |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
N, CHUNKS | [] | none | Split into N contiguous pieces. |
MATCH | 1 |
|
Define if the last chunk should keep any remaining data samples. |
Example |
---|
plist('N', [[]], 'MATCH', [true]) |
By Interval Start/End |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
START_TIME | 1970-01-01 00:00:00.000 UTC | none | Start time can be either a string or a time object. |
END_TIME | 1970-01-01 00:00:00.000 UTC | none | End time can be either a string or a time object. |
Example |
---|
plist('START_TIME', time(plist('MILLISECONDS', [0])) , 'END_TIME', time(plist('MILLISECONDS', [0])) ) |
By Interval Start/Duration |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
START_TIME | 1970-01-01 00:00:00.000 UTC | none | Start time can be either a string or a time object. |
DURATION | 1970-01-01 00:00:00.000 UTC | none | Duration can be either a string or a time object. |
Example |
---|
plist('START_TIME', time(plist('MILLISECONDS', [0])) , 'DURATION', time(plist('MILLISECONDS', [0])) ) |
By Interval Timespan |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
TIMESPAN | (start: 1970-01-01 00:00:00.000 UTC end: 1970-01-01 00:00:00.000 UTC) | none | The start/end time are specified in the time span object. |
Example |
---|
plist('TIMESPAN', [timespan()]) |
By Matching |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
split | |||
MATCH | [] | none | Give an array of input AOs which will form the template for the output AOs. If time-series AOs are given, the data will be split according to the times in these AOs. Similarly, if frequency series AOs are given, the data will be split on the frequencies of these inputs. |
Example |
---|
plist('MATCH', [[]]) |
Some information of the method ltpda_container/split are listed below: | |
---|---|
Class name | ltpda_container |
Method name | split |
Category | Signal Processing |
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 | 0 |
Supported numeric types | {'double'} |
![]() |
Method: matrix/simplifyYunits | Method: matrix/sqrt | ![]() |
©LTP Team