Bases: astropy.modeling.core.Parametric2DModel
Two dimensional Gaussian model.
Parameters: | amplitude : float
x_mean : float
y_mean : float
x_stddev : float
y_stddev : float
theta : float, optional
cov_matrix : ndarray, optional
|
---|
See also
Notes
Model formula:
f(x, y) = A e^{-a\left(x - x_{0}\right)^{2} -b\left(x - x_{0}\right) \left(y - y_{0}\right) -c\left(y - y_{0}\right)^{2}}
Using the following definitions:
a = \left(\frac{\cos^{2}{\left (\theta \right )}}{2 \sigma_{x}^{2}} + \frac{\sin^{2}{\left (\theta \right )}}{2 \sigma_{y}^{2}}\right) b = \left(\frac{-\sin{\left (2 \theta \right )}}{2 \sigma_{x}^{2}} + \frac{\sin{\left (2 \theta \right )}}{2 \sigma_{y}^{2}}\right) c = \left(\frac{\sin^{2}{\left (\theta \right )}}{2 \sigma_{x}^{2}} + \frac{\cos^{2}{\left (\theta \right )}}{2 \sigma_{y}^{2}}\right)
Attributes Summary
amplitude | |
param_names | list() -> new empty list |
theta | |
x_mean | |
x_stddev | |
y_mean | |
y_stddev |
Methods Summary
deriv(x, y, amplitude, x_mean, y_mean, ...) | Two dimensional Gaussian function derivative |
eval(x, y, amplitude, x_mean, y_mean, ...) | Two dimensional Gaussian function |
Attributes Documentation
Methods Documentation
Two dimensional Gaussian function derivative
Two dimensional Gaussian function