| LTPDA Toolbox™ | contents | ![]() |
SUBSDATA performs actions on ao objects. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SUBSDATA performs actions on <class> objects. CALL: out = obj.subsData(pl) out = subsData(objs, pl) INPUTS: pl - a parameter list obj(s) - input ao object(s) OUTPUTS: out - some output. Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details | |
|---|---|
| Access | public |
| Defining Class | ao |
| Sealed | 0 |
| Static | 0 |
| Sets for this method … |
|---|
| Default |
| Mean |
| Line |
| Constrained Gaussian |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| subsData | |||
| INDICES | [] | none | List of start/stop index pairs for data to be subsituted (Nx2). Can either be an array of doubles or a cdata ao |
| SUB_FLAG | [] | none | Timeseries AO containing ones where data should substituted and zeros where it should be kept. NOTE: This is an alternative to specifying Indices. |
| MODE | 'Constant' |
|
Method to use for calculating replacement data.
|
| VALUE, VALUES | 0 | none | Value(s) to fill specified intervals. Can be a scalar or Nx1 array of doubles or ao [where y values will be taken] |
Example |
|---|
| plist('INDICES', [[]], 'SUB_FLAG', [[]], 'MODE', 'Constant', 'VALUE', [0]) |
back to top
Mean |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| subsData | |||
| INDICES | [] | none | List of start/stop index pairs for data to be subsituted (Nx2). Can either be an array of doubles or a cdata ao |
| SUB_FLAG | [] | none | Timeseries AO containing ones where data should substituted and zeros where it should be kept. NOTE: This is an alternative to specifying Indices. |
| MODE | 'Constant' |
|
Method to use for calculating replacement data.
|
Example |
|---|
| plist('INDICES', [[]], 'SUB_FLAG', [[]], 'MODE', 'Constant') |
back to top
Line |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| subsData | |||
| INDICES | [] | none | List of start/stop index pairs for data to be subsituted (Nx2). Can either be an array of doubles or a cdata ao |
| SUB_FLAG | [] | none | Timeseries AO containing ones where data should substituted and zeros where it should be kept. NOTE: This is an alternative to specifying Indices. |
| MODE | 'Constant' |
|
Method to use for calculating replacement data.
|
Example |
|---|
| plist('INDICES', [[]], 'SUB_FLAG', [[]], 'MODE', 'Constant') |
back to top
Constrained Gaussian |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| subsData | |||
| INDICES | [] | none | List of start/stop index pairs for data to be subsituted (Nx2). Can either be an array of doubles or a cdata ao |
| SUB_FLAG | [] | none | Timeseries AO containing ones where data should substituted and zeros where it should be kept. NOTE: This is an alternative to specifying Indices. |
| MODE | 'Constant' |
|
Method to use for calculating replacement data.
|
| SEED | [] | none | Set the set used to initialise the random number generator which generates the random data for the gaps. |
| IACF | [] | none | Inverse Auto-Correlation Function (IACF) for filling gaps. Can be array of doubles of xydata ao. |
Example |
|---|
| plist('INDICES', [[]], 'SUB_FLAG', [[]], 'MODE', 'Constant', 'SEED', [[]], 'IACF', [[]]) |
back to top
| Some information of the method ao/subsData are listed below: | |
|---|---|
| Class name | ao |
| Method name | subsData |
| 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 | 1 |
| Supported numeric types | {'double'} |
|
Method: ao/spsd | Method: ao/svd_fit | ![]() |
©LTP Team