LTPDA Toolbox™ | contents | ![]() ![]() |
GAPFILLINGOPTIM fills possible gaps in data. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: GAPFILLINGOPTIM minimizes a chi square based on the signal's expected PSD. It uses ao/optSubtraction for the small scale algorithm, optSubstitution for the large scale algorithm. CALL: [aoGapsFilled, plOut, aoP, aoPini, aoWindow, aoWindowShift] = ao.gapfilling(plist) INPUTS: ao_data - data segment with the signal to reconstitue pl - parameter list OUTPUTS: aoGapsFilled - data segment containing ao_data, with filled data gaps plOut - output plist containing the output of gapfillingoptim aoP, aoPini - final and initial frequency PSD used to weight the optimal problem aoWindow - window used for estmating spectrum aoWindowShift - shifted window used for optimizing spectrum 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 |
gapfillingoptim | |||
ISGAP | 'zeros' |
|
Logical ao giving position of gaps. If not specified, gaps are positionned where there are zeros. |
SCALE | 'large scale' |
|
large scale or small scale algorithm |
COEFS | [] | none | initial subtracted coefficients, must be a nY*nU double array. If not provided zeros are assumed |
WEIGHTINGMETHOD | 'residual' |
|
choose to define a frequency weighting scheme |
AOWEIGHT | [] | none | ao to define a frequency weighting scheme (if chosen in 'weightingMethod') |
PZMODELWEIGHT | [] | none | pzmodel to define a frequency weighting scheme (if chosen in 'weightingMethod') |
LINCOEF | 20 | none | linear coefficient for scaling frequencies in chi2 |
LOGCOEF | 0 | none | logarithmic coefficient for scaling frequencies in chi2 |
FITCRITERION | 'FTest' |
|
criterion to fit the amplitude spectra (increasing quality, increasing time) |
ITERMAX | 1 | none | max number of Mex/Exp iterations (only makes sense for "FTest-NoHfWin" fitting criteiron) |
NORMCOEFS | 9.9999999999999998e-13 | none | tolerance on inf norm of coefficient update |
NORMCRITERION | 1.0000000000000001e-05 | none | tolerance on norm of criterion variation |
WIN | (WIN='levelledHanning', PSLL=200, LEVELORDER=2) | none | window to operate FFT, may be a plist/ao |
DISPLAY | 'off' |
|
choose how much to display of the optimizer output |
MAXCALL | 50000 | none | maximum number of calls to the criterion function |
Example |
---|
plist('ISGAP', 'zeros', 'SCALE', 'large scale', 'COEFS', [[]], 'WEIGHTINGMETHOD', 'residual', 'AOWEIGHT', [[]], 'PZMODELWEIGHT', [[]], 'LINCOEF', [20], 'LOGCOEF', [0], 'FITCRITERION', 'FTest', 'ITERMAX', [1], 'NORMCOEFS', [9.9999999999999998e-13], 'NORMCRITERION', [1.0000000000000001e-05], 'WIN', plist('WIN', 'levelledHanning', 'PSLL', [200], 'LEVELORDER', [2]), 'DISPLAY', 'off', 'MAXCALL', [50000]) |
Some information of the method ao/gapfillingoptim are listed below: | |
---|---|
Class name | ao |
Method name | gapfillingoptim |
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/gapfilling | Method: ao/getAbsTimeRange | ![]() |
©LTP Team