Commit b653863bbcfda99dabbfd0f5307cc5024530f6b3

Authored by Jürgen Knödlseder
1 parent df5e50cb

Add information to the Doxygen documentation.

src/model/GModelSpatialEllipticalGauss.cpp
... ... @@ -276,10 +276,13 @@ GModelSpatialEllipticalGauss* GModelSpatialEllipticalGauss::clone(void) const
276 276 *
277 277 * The normalisation constant \f${\tt m\_norm}\f$ which is the inverse of the
278 278 * solid angle subtended by an ellipse is given by
  279 + * \f[
  280 + * {\tt m\_norm} = \frac{1}{2 \pi \times a \times b}
  281 + * \f]
279 282 *
280   - * @todo Quote formula for ellipse solid angle
281   - *
282   - * (see the update() method).
  283 + * @warning
  284 + * The normalization of the elliptical Gaussian is only valid in the small
  285 + * angle approximation.
283 286 ***************************************************************************/
284 287 double GModelSpatialEllipticalGauss::eval(const double& theta,
285 288 const double& posangle,
... ... @@ -730,6 +733,10 @@ void GModelSpatialEllipticalGauss::free_members(void)
730 733 * \f$a\f$ is the semi-major axis and
731 734 * \f$b\f$ is the semi-minor axis of the ellipse.
732 735 *
  736 + * @warning
  737 + * The normalization of the elliptical Gaussian is only valid in the small
  738 + * angle approximation.
  739 + *
733 740 * @todo Generalize normalization to the sphere (for the moment only accurate
734 741 * in the small angle approximation).
735 742 ***************************************************************************/
... ...