Skip to content

Commit

Permalink
Add docs for FlatTopPeak function
Browse files Browse the repository at this point in the history
  • Loading branch information
rbauststfc committed Jan 31, 2025
1 parent 0cbbb4e commit 05008ec
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/source/fitting/fitfunctions/FlatTopPeak.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. _func-FlatTopPeak:

===========
FlatTopPeak
===========

.. index:: FlatTopPeak

Description
-----------

A flat top peak function is defined as:

.. math:: y = scale * (erfc((centre - 0.5 * width - x) / endGrad) - erfc((centre + 0.5 * width - x) / endGrad)) + background

.. attributes::

.. properties::

.. categories::

.. sourcelink::

0 comments on commit 05008ec

Please sign in to comment.