From 09dfb53c47ff30a22dd059e5e242a71e1dfc6b0a Mon Sep 17 00:00:00 2001 From: ellisowen Date: Fri, 17 Jan 2014 13:34:26 +0100 Subject: [PATCH] Updates model.rst to include info on GModelSpectralGauss --- doc/source/user_manual/modules/model.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+), 0 deletions(-) diff --git a/doc/source/user_manual/modules/model.rst b/doc/source/user_manual/modules/model.rst index beb8978..3d4171b 100644 --- a/doc/source/user_manual/modules/model.rst +++ b/doc/source/user_manual/modules/model.rst @@ -198,6 +198,31 @@ The XML format for specifying a broken power law is: + +Gaussian +^^^^^^^^ + +The ``GModelSpectralGauss`` class implements the gaussian function + +.. math:: + \frac{dN}{dE} = \frac{N_0}{\sqrt{2\pi}\sigma}\exp(\frac{-(E-E_bar)^2}{2 \sigma^2}) + +where the parameters in the XML definition have the following mappings: + +* :math:`N_0` = ``Prefactor`` +* :math:`E_bar` = ``Mean Energy`` +* :math:`sigma` = ``Energy Standard Deviation`` + +The XML format for specifying a power law is: + +.. code-block:: xml + + + + + + + Node function ^^^^^^^^^^^^^ -- libgit2 0.21.4