Class lsst::afw::math::GaussianFunction2¶
-
template<typename
ReturnT
>
classGaussianFunction2
: public lsst::afw::math::Function2<ReturnT>¶ 2-dimensional Gaussian
f(x,y) = A e^((-pos1^2 / 2 sigma1^2) - (pos2^2 / 2 sigma2^2)) where:
A = 1 / (2 pi sigma1 sigma2)
pos1 = cos(angle) x + sin(angle) y
pos2 = -sin(angle) x + cos(angle) y coefficients c0 = sigma1, c1 = sigma2, c2 = angle
- Note
if sigma1 > sigma2 then angle is the angle of the major axis