LTPDA Toolbox™ | contents | ![]() ![]() |
POLYFITSPECTRUM does a polynomial fit to the log of the input spectrum. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: POLYFITSPECTRUM does a polynomial fit to the log of the input spectrum. The method returns the fitted model spectrum as an fsdata AO, evaluated at the frequencies specified. In the procinfo of the output objects contains the fit as a pest object. CALL: bs = polyfitSpectrum(a1,a2,a3,...,pl) bs = polyfitSpectrum(as,pl) bs = polyfitSpectrum.psd(pl) INPUTS: aN - input fsdata analysis objects as - input fsdata analysis objects array pl - input parameter list OUTPUTS: bs - array of analysis objects, one for each input 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 |
polyfitSpectrum | |||
FFIT | [] | none | The frequency range on which to split the input data for fitting in the form [f1 f2]. If empty, the full input spectrum will be fit. |
FOUT | [] | none | The frequency range on which to evaluate the fit. If empty, the full range of the input spectrum will be used. |
ORDERS | [] | none | The orders of polynomial to fit to the spectrum. |
PLOT FITS | 0 |
|
Set to true to produce plots of the fits. |
REGULARIZECOEFF | [] | none | Regularization coefficient. Leave it empty if you do not want to do regularization. |
Example |
---|
plist('FFIT', [[]], 'FOUT', [[]], 'ORDERS', [[]], 'PLOT FITS', [false], 'REGULARIZECOEFF', [[]]) |
Some information of the method ao/polyfitSpectrum are listed below: | |
---|---|
Class name | ao |
Method name | polyfitSpectrum |
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/polyfit | Method: ao/polynomfit | ![]() |
©LTP Team