diff --git a/doc/source/users/user_manual/models_spatial.rst b/doc/source/users/user_manual/models_spatial.rst index 7e05d6f..0a9ac7e 100644 --- a/doc/source/users/user_manual/models_spatial.rst +++ b/doc/source/users/user_manual/models_spatial.rst @@ -10,6 +10,11 @@ in ctools for gamma-ray sources. Except of the ``DiffuseMapCube`` model, all spatial models are normalised so that when integrated over the sphere the result is unity. +.. note:: + In the following model descriptions, celestial coordinates ``RA`` and ``DEC`` + may be replaced by Galactic coordinates ``GLON`` and ``GLAT``. + + Point source ^^^^^^^^^^^^ @@ -32,34 +37,6 @@ Point source * ``RA`` is the Right Ascension (degrees) * ``DEC`` is the Declination (degrees) - Instead of ``RA`` and ``DEC`` one may use ``GLON`` and ``GLAT`` to give the - position in Galactic coordinates - - .. code-block:: xml - - - - - - - - ... - - - - where - - * ``GLON`` is the Galactic longitude (degrees) - * ``GLAT`` is the Galactic latitude (degrees) - - .. note:: - Galactic coordinates using the ``GLON`` and ``GLAT`` parameters can be - specified for all spatial models that require a sky coordinate. Galactic - coordinates are transformed internally into celestial coordinates, and - in case that a model is written into an XML file, the corresponding - parameters will be replaced by the celestial coordinates ``RA`` and - ``DEC``. - .. note:: For compatibility with the Fermi/LAT ScienceTools the model type ``PointSource`` can be replaced by ``SkyDirFunction``. @@ -190,7 +167,7 @@ RadialGeneralGaussian * :math:`\eta` = ``R_Index`` The model normalisation is correct in the small angle approximation and for - :math:`\eta` order unity or smaller. + :math:`\eta` of the order of unity or smaller. RadialShell ~~~~~~~~~~~ @@ -237,6 +214,98 @@ RadialShell * :math:`\theta_{\rm in}` = ``Radius`` (degrees) +Radial profiles +~~~~~~~~~~~~~~~ + + Radial profiles are defined by a arbitrary function of the radial distance from a central + position. The following radial profiles exist: + +Burkert Dark matter profile +........................... + + .. code-block:: xml + + + + + + + + + + + + + + ... + + + +Einasto Dark matter profile +........................... + + .. code-block:: xml + + + + + + + + + + + + + + + ... + + + +Zhao Dark matter profile +........................ + + .. code-block:: xml + + + + + + + + + + + + + + + + + ... + + + +Gaussian profile +................ + + This profile is equivalent to ``RadialGaussian``. + + .. code-block:: xml + + + + + + + + + ... + + + + Elliptical source ^^^^^^^^^^^^^^^^^ @@ -325,7 +394,7 @@ EllipticalGeneralGaussian - + ... @@ -357,7 +426,7 @@ EllipticalGeneralGaussian * :math:`\eta` = ``R_Index`` The model normalisation is correct in the small angle approximation and for - :math:`\eta` order unity or smaller. + :math:`\eta` of the order of unity or smaller. Diffuse source diff --git a/doc/source/users/user_manual/models_spectral.rst b/doc/source/users/user_manual/models_spectral.rst index 0a0608c..070f2a7 100644 --- a/doc/source/users/user_manual/models_spectral.rst +++ b/doc/source/users/user_manual/models_spectral.rst @@ -444,6 +444,33 @@ Node function ordering. +Bin function +^^^^^^^^^^^^ + + .. code-block:: xml + + + + + + + + + + + + + + + + This spectral model component implements energy bins defined by ``LowerLimit`` and + ``UpperLimit`` values given in units of :math:`{\rm MeV}`. Within an energy bin the + intensity follows a power law with spectral index defined by the ``Index`` parameter. + Intensities are given in units of + :math:`{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}` + and are specified for the logarithmic bin centre. + + Table model ^^^^^^^^^^^