Commit debcf429b6dc8e769ca49b0c7d33dd7ff6bdcd4b

Authored by Jürgen Knödlseder
1 parent ad72820d

Add units to models.

doc/source/user_manual/getting_started/models.rst
... ... @@ -357,6 +357,7 @@ Constant
357 357 where
358 358  
359 359 * :math:`N_0` = ``Normalization``
  360 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}]`
360 361  
361 362  
362 363  
... ... @@ -379,8 +380,10 @@ Power law
379 380 where
380 381  
381 382 * :math:`k_0` = ``Prefactor``
  383 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}]`
382 384 * :math:`\gamma` = ``Index``
383 385 * :math:`E_0` = ``Scale``
  386 + :math:`[{\rm MeV}]`
384 387  
385 388 .. warning::
386 389  
... ... @@ -407,9 +410,12 @@ Power law
407 410 where
408 411  
409 412 * :math:`N` = ``Integral``
  413 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}]`
410 414 * :math:`\gamma` = ``Index``
411 415 * :math:`E_{\rm min}` = ``LowerLimit``
  416 + :math:`[{\rm MeV}]`
412 417 * :math:`E_{\rm max}` = ``UpperLimit``
  418 + :math:`[{\rm MeV}]`
413 419  
414 420 .. warning::
415 421  
... ... @@ -441,9 +447,12 @@ Exponentially cut-off power law
441 447 where
442 448  
443 449 * :math:`k_0` = ``Prefactor``
  450 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}]`
444 451 * :math:`\gamma` = ``Index``
445 452 * :math:`E_0` = ``Scale``
  453 + :math:`[{\rm MeV}]`
446 454 * :math:`E_{\rm cut}` = ``Cutoff``
  455 + :math:`[{\rm MeV}]`
447 456  
448 457 .. warning::
449 458  
... ... @@ -477,9 +486,11 @@ Broken power law
477 486 where
478 487  
479 488 * :math:`k_0` = ``Prefactor``
  489 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}]`
480 490 * :math:`\gamma_1` = ``Index1``
481 491 * :math:`\gamma_2` = ``Index2``
482 492 * :math:`E_b` = ``BreakValue``
  493 + :math:`[{\rm MeV}]`
483 494  
484 495 .. warning::
485 496  
... ... @@ -508,10 +519,11 @@ Log parabola
508 519 where
509 520  
510 521 * :math:`k_0` = ``Prefactor``
  522 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}]`
511 523 * :math:`\gamma` = ``Index``
512 524 * :math:`\eta` = ``Curvature``
513 525 * :math:`E_0` = ``Scale``
514   -
  526 + :math:`[{\rm MeV}]`
515 527  
516 528 .. warning::
517 529  
... ... @@ -554,8 +566,11 @@ Gaussian
554 566 where
555 567  
556 568 * :math:`N_0` = ``Normalization``
  569 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}]`
557 570 * :math:`\bar{E}` = ``Mean``
  571 + :math:`[{\rm MeV}]`
558 572 * :math:`\sigma` = ``Sigma``
  573 + :math:`[{\rm MeV}]`
559 574  
560 575  
561 576 File function
... ... @@ -571,11 +586,12 @@ File function
571 586 that is defined by intensity values at specific energies.
572 587 The energy and intensity values are defined using an ASCII file with
573 588 columns of energy and differential flux values.
574   - The energy units are assumed to be MeV and the flux values are assumed to
575   - :math:`{\rm cm}^{-2} {\rm s}^{-1} {\rm MeV}^{-1}`
  589 + The energy units are assumed to be :math:`[{\rm MeV}]` and the flux values
  590 + are assumed to
  591 + :math:`{\rm ph}\,\,{\rm cm}^{-2} {\rm s}^{-1} {\rm MeV}^{-1}`
576 592 (the only exception being a model for which the spatial component is
577 593 a constant diffuse model; in this case, the units are
578   - :math:`{\rm cm}^{-2} {\rm s}^{-1} {\rm MeV}^{-1} {\rm sr}^{-1}`).
  594 + :math:`{\rm ph}\,\,{\rm cm}^{-2} {\rm s}^{-1} {\rm MeV}^{-1} {\rm sr}^{-1}`).
579 595 The only parameter is a multiplicative normalization:
580 596  
581 597 .. math::
... ... @@ -612,6 +628,14 @@ Node function
612 628 The ``NodeFunction`` model component implements a generalised broken
613 629 power law which is defined by a set of energy and intensity values
614 630 (the so called nodes) that are piecewise connected by power laws.
  631 + Energies are given in units of
  632 + :math:`[{\rm MeV}]`,
  633 + intensities are given in units of
  634 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}]`
  635 + (except for a constant diffuse model where intensities are given in
  636 + units of
  637 + :math:`[{\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1}\,{\rm
  638 + sr}^{-1}]`).
615 639  
616 640 .. warning::
617 641  
... ...