Commit 5f89545ac8e4c189eb754e05bb6b277468063414
1 parent
7fa20438
Add user documentation for smoothly broken power law
Showing
1 changed file
with
54 additions
and
0 deletions
doc/source/users/user_manual/getting_started/models.rst
| ... | ... | @@ -676,6 +676,60 @@ Broken power law |
| 676 | 676 | ``BreakEnergy`` can be replaced by ``BreakValue``. |
| 677 | 677 | |
| 678 | 678 | |
| 679 | +Smoothly broken power law | |
| 680 | +^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 681 | + | |
| 682 | + .. code-block:: xml | |
| 683 | + | |
| 684 | + <spectrum type="SmoothBrokenPowerLaw"> | |
| 685 | + <parameter name="Prefactor" scale="1e-16" value="5.7" min="1e-07" max="1000.0" free="1"/> | |
| 686 | + <parameter name="Index1" scale="-1" value="2.48" min="0.0" max="+5.0" free="1"/> | |
| 687 | + <parameter name="PivotEnergy" scale="1e6" value="1.0" min="0.01" max="1000.0" free="0"/> | |
| 688 | + <parameter name="Index2" scale="-1" value="2.70" min="0.01" max="+5.0" free="1"/> | |
| 689 | + <parameter name="BreakEnergy" scale="1e6" value="0.3" min="0.01" max="1000.0" free="1"/> | |
| 690 | + <parameter name="BreakSmoothness" scale="1.0" value="0.2" min="0.01" max="10.0" free="0"/> | |
| 691 | + </spectrum> | |
| 692 | + | |
| 693 | + This spectral model component implements the smoothly broken power law function | |
| 694 | + | |
| 695 | + .. math:: | |
| 696 | + | |
| 697 | + M_{\rm spectral}(E) = k_0 \left( \frac{E}{E_0} \right)^{\gamma_1} | |
| 698 | + \left[ 1 + | |
| 699 | + \left( \frac{E}{E_b} \right)^{\frac{\gamma_1 - \gamma_2}{\beta}} | |
| 700 | + \right]^{-\beta} | |
| 701 | + | |
| 702 | + where | |
| 703 | + | |
| 704 | + * :math:`k_0` = ``Prefactor`` | |
| 705 | + :math:`({\rm ph}\,\,{\rm cm}^{-2}\,{\rm s}^{-1}\,{\rm MeV}^{-1})` | |
| 706 | + * :math:`\gamma_1` = ``Index1`` | |
| 707 | + * :math:`E_0` = ``PivotEnergy`` | |
| 708 | + * :math:`\gamma_2` = ``Index2`` | |
| 709 | + * :math:`E_b` = ``BreakEnergy`` | |
| 710 | + :math:`({\rm MeV})` | |
| 711 | + * :math:`\beta` = ``BreakSmoothness`` | |
| 712 | + | |
| 713 | + .. warning:: | |
| 714 | + | |
| 715 | + The pivot energy should be set far away from the expected break energy | |
| 716 | + value. | |
| 717 | + | |
| 718 | + .. warning:: | |
| 719 | + | |
| 720 | + When the two indices are close together, the :math:`\beta` parameter | |
| 721 | + becomes poorly constrained. Since the :math:`\beta` parameter also scales | |
| 722 | + the indices, this can cause very large errors in the estimates of the | |
| 723 | + various spectral parameters. In this case, consider fixing :math:`\beta`. | |
| 724 | + | |
| 725 | + .. note:: | |
| 726 | + | |
| 727 | + For compatibility with the Fermi/LAT ScienceTools the parameters | |
| 728 | + ``PivotEnergy`` can be replaced by ``Scale``, | |
| 729 | + ``BreakEnergy`` by ``BreakValue`` and | |
| 730 | + ``BreakSmoothness`` by ``Beta``. | |
| 731 | + | |
| 732 | + | |
| 679 | 733 | Log parabola |
| 680 | 734 | ^^^^^^^^^^^^ |
| 681 | 735 | ... | ... |