LTPDA Toolbox™ | contents | ![]() ![]() |
CGFILL fills specified gaps in the data given an inital guess for the spectrum. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: CGFILL fills specified gaps in the data given an inital guess for the spectrum using the constrained gaussian method. CALL: out = obj.cgfill(pl) out = cgfill(objs, pl) INPUTS: pl - a parameter list obj(s) - input ao object(s) OUTPUTS: out - filled data series. Created 2013-02-20, M Hewitson - adapted from code writen by Curt Cutler and Ira Thorpe. Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | ao |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
Default |
Default |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
NFFT | -1 | none | The number of samples in each fft [default: length of input data]. A string value containing the variable 'fs' can also be used, e.g., plist('Nfft', '2*fs') |
WIN | 'BH92' |
|
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:
|
NAVS | -1 | none | Force number of averages. If set, and if Nfft was set to 0 or -1, the number of points for each window will be calculated to match the request. |
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:
|
SCALE | 'PSD' |
|
The scaling of output. Choose from:
|
ORDERS | 0 | none | The powers of the dependent variable to fit to the data. |
P0 | 1 | none | An initial guess for the power-law coefficients. |
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 |
SAMPLES | [] | none | The number of samples to truncate the correlation vector to. If empty, the full inverse correlation vector will be returned. |
F TRIM | [0 Inf] | none | The range of frequencies (lower and upper) of the spectrum when fitting the spectral model. |
BIN SPECTRUM | 1 |
|
Choose whether or not to smooth the spectral data before fitting using ao/bin_data. |
MODE | 'iterate' | none | The method for deciding when to end the filling procedure:
|
NITER | 1 | none | The number of iterations to perform for the 'iterate' mode. |
Some information of the method ao/cgfill are listed below: | |
---|---|
Class name | ao |
Method name | cgfill |
Category | Signal Processing |
Package name | ltpda |
VCS Version | 175910878ca914560542d679d9d392de37438d84 |
Min input args | 1 |
Max input args | -1 |
Min output args | 1 |
Max output args | -1 |
![]() |
Method: ao/cdfplot | Method: ao/cohere | ![]() |
©LTP Team