LTPDA Toolbox™ | contents | ![]() ![]() |
POWERFIT fits a piecewise powerlaw to the given data. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: POWERFIT fits a piecewise powerlaw to the given data by minimising the log-likelihood function. CALL: out = obj.powerFit(pl) out = powerFit(objs, pl) INPUTS: pl - a parameter list obj(s) - input ao object(s) OUTPUTS: out - some output. 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 |
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. |
OFFSETS | [] | none | offset frequencies of the power-law from DC. |
UB | [] | none | Array of upper bounds for parameters. If empty, the upper bound is +Inf for all variables. |
LB | [] | none | Array of lower bounds for parameters. If empty, the lower bound is -Inf for all variables. |
WEIGHTS | [] | none | Weights for individual data bins. If empty, all bins are weighted equally. Can also be a plist for a built-in ao model |
FUNCTION | 'Sum' |
|
Function to use when calculating the liklihood.
|
EXP_FACT | 7 | none | Factor used in exponential weighting of likelihood funciton |
Some information of the method ao/powerFit are listed below: | |
---|---|
Class name | ao |
Method name | powerFit |
Category | Signal Processing |
Package name | ltpda |
VCS Version | 3f8d61c792503a5b5ec8a0a153efb23b65da24a9 |
Min input args | 1 |
Max input args | -1 |
Min output args | 1 |
Max output args | -1 |
![]() |
Method: ao/polynomfit | Method: ao/ppsd | ![]() |
©LTP Team