Bases: astropy.modeling.Fittable1DModel
One dimensional power law model.
Parameters: | amplitude : float
x_0 : float
alpha : float
|
---|---|
Other Parameters: | |
fixed : a dict
tied : dict
bounds : dict eqcons : list
ineqcons : list
|
Notes
Model formula (with A for amplitude and \alpha for alpha):
f(x) = A (x / x_0) ^ {-\alpha}
Attributes Summary
alpha | |
amplitude | |
param_names | |
x_0 |
Methods Summary
evaluate(x, amplitude, x_0, alpha) | One dimensional power law model function |
fit_deriv(x, amplitude, x_0, alpha) | One dimensional power law derivative with respect to parameters |
Attributes Documentation
Methods Documentation
One dimensional power law model function
One dimensional power law derivative with respect to parameters