Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
RemoveExpDecay-v1.rst 927 B

Description

This algorithm removes the exponential time decay from the specified muon spectra, leaving the rest unchanged. By default, all the spectra in a workspace will be corrected.

The formula for removing the exponential decay is given by:

\textrm{NewData} = (\textrm{OldData}\times{e^\frac{t}{\tau}})/N_0 - 1.0

where \tau is the muon lifetime (2.1969811e-6 seconds). N_0 is a fitted normalisation constant.

Usage

Example - Removing exponential decay:

Output: