Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.02 KB

MuMinusExpTF.rst

File metadata and controls

53 lines (33 loc) · 1.02 KB

MuMinusExpTF

.. index:: MuMinusExpTF

Description

A relatxation function for negative muons in Traverse field.

N(t)=N_0e^{-frac{t}{\tau}}\left(1+Ae^{-\lambda t}\cos(2\pi\nu t + \phi)\right)

where,

N_O is the count at t=0 ,

\tau is the muon decay life time,

A is the relative amplitude of the oscillatory term,

\lambda (MHz) is the relaxation rateo f the oscillatory term,

\nu is the oscillating frequency,

and \phi is the phase.

.. plot::

   from mantid.simpleapi import FunctionWrapper
   import matplotlib.pyplot as plt
   import numpy as np
   x = np.arange(0.1,16,0.1)
   y = FunctionWrapper("MuMinusExpTF")
   fig, ax=plt.subplots()
   ax.plot(x, y(x))
   ax.set_xlabel('t($\mu$s)')
   ax.set_ylabel('A(t)')

.. attributes::

.. properties::

References

[1] PSI MUSRFIT documentation.

.. categories::

.. sourcelink::