| 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 |
back to top
| Some information of the method ao/powerFit are listed below: | |
|---|---|
| Class name | ao |
| Method name | powerFit |
| Category | Signal Processing |
| Package name | ltpda |
| VCS Version | 8ab8cbbc4bccf7543491a24448f4aae0b1be1c43 |
| Min input args | 1 |
| Max input args | -1 |
| Min output args | 1 |
| Max output args | -1 |
|
Method: ao/polynomfit | Method: ao/ppsd | ![]() |
©LTP Team