| LTPDA Toolbox™ | contents | ![]() |
LPSD computes the log-scale PSD of the time-series AOs in a ltpda_container object. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: LPSD computes the log-scale PSD of the time-series AOs in a ltpda_container object. CALL: out = lpsd(in, pl); Note: this is just a wrapper of ao/lpsd. Each AO in the ltpda_container is passed to ao/lpsd 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 |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| lpsd | |||
| WIN | 'Hanning' |
|
The window to be applied to the data to remove the discontinuities at edges of segments. [default: taken from user prefs] Only the design parameters of the window object are used. Enter a string value containing the window name e.g. plist('Win', 'Kaiser', 'psll', 200) plist('Win', 'BH92') |
| PSLL | 200 | none | The peak sidelobe level for Kaiser windows. Note: it is ignored for all other windows |
| OLAP | -1 | none | The segment percent overlap [-1 == take from window function] |
| ORDER, N | 0 |
|
The order of segment detrending:
|
| DROP WINDOW SAMPLES | 1 |
|
Drop the recommended (by the window) number of samples of the final computed spectral series. |
| TIMES, SPLIT | [] | none | The time range to analyze. If not empty, sets the time interval to operate on. As in ao/split, the interval can be specified by:
|
| MASK | [] | none | Mask out segments in the averaging process. The mask should be a vector of logical values, one value per segment being averaged. The plist method [psdSegments] can be used to generate a default mask for your PSD settings. If empty, all segments will be included in the average. |
| KDES | 100 | none | The desired number of averages. |
| JDES | 1000 | none | The desired number of spectral frequencies to compute. |
| LMIN | 0 | none | The minimum segment length. |
| SCALE | 'PSD' |
|
The scaling of output. Choose from:
|
Example |
|---|
| plist('WIN', 'Hanning', 'PSLL', [200], 'OLAP', [-1], 'ORDER', [0], 'DROP WINDOW SAMPLES', [true], 'TIMES', [[]], 'MASK', [[]], 'KDES', [100], 'JDES', [1000], 'LMIN', [0], 'SCALE', 'PSD') |
back to top
| Some information of the method ltpda_container/lpsd are listed below: | |
|---|---|
| Class name | ltpda_container |
| Method name | lpsd |
| Category | Signal Processing |
| Package name | ltpda |
| Can be used as modifier | 0 |
| Supported numeric types | {'double'} |
|
Method: matrix/loglikelihood | Method: matrix/ltfe | ![]() |
©LTP Team