Method matrix/split


  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

Parameter Description

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', [[]])

back to top back to top

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', [[]])

back to top back to top

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', [[]])

back to top back to top

By Frequencies

no description
Key Default Value Options Description
split
FREQUENCIES [] none An array of start/stop frequencies to split by.

Example

plist('FREQUENCIES', [[]])

back to top back to top

By Samples

no description
Key Default Value Options Description
split
SAMPLES [] none An array of start/stop samples to split by.

Example

plist('SAMPLES', [[]])

back to top back to top

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
  • 1
  • 0
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', [[]])

back to top back to top

By Length

no description
Key Default Value Options Description
split
LENGTH [] none Split ao into segments of length N samples.

Example

plist('LENGTH', [[]])

back to top back to top

By Chunks

no description
Key Default Value Options Description
split
N, CHUNKS [] none Split into N contiguous pieces.
MATCH 1
  • 1
  • 0
Define if the last chunk should keep any remaining data samples.

Example

plist('N', [[]], 'MATCH', [true])

back to top back to top

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])) )

back to top back to top

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])) )

back to top back to top

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()])

back to top back to top

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', [[]])

back to top back to top

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'}




©LTP Team