Mantid
Loading...
Searching...
No Matches
MuonHelpers.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidCurveFitting/DllConfig.h"
10#include <cmath>
11
12namespace Mantid {
13namespace CurveFitting {
14namespace MuonHelper {
15// Computes A_z formula for fitting functions for decoupling of asymmetry in the ordered state of a powdered magnet
16double MANTID_CURVEFITTING_DLL getAz(double xValue, const double charField);
17
18// Computes differential of the A_z formula for fitting functions for decoupling of asymmetry in the ordered state of a
19// powdered magnet
20double MANTID_CURVEFITTING_DLL getDiffAz(double xValue, const double charField);
21
22// Computes the Activation Fit function
23double MANTID_CURVEFITTING_DLL getActivationFunc(double xValue, const double attemptRate, const double barrier,
24 const double unitMultipy);
25
26// Computes the Activation Fit function differentials
27double MANTID_CURVEFITTING_DLL getAttemptRateDiff(double xValue, const double barrier, const double unitMultipy);
28double MANTID_CURVEFITTING_DLL getBarrierDiff(double xValue, const double attemptRate, const double barrier,
29 const double unitMultipy);
30} // namespace MuonHelper
31} // namespace CurveFitting
32} // namespace Mantid
double MANTID_CURVEFITTING_DLL getDiffAz(double xValue, const double charField)
Definition: MuonHelpers.cpp:23
double MANTID_CURVEFITTING_DLL getAttemptRateDiff(double xValue, const double barrier, const double unitMultipy)
Definition: MuonHelpers.cpp:38
double MANTID_CURVEFITTING_DLL getBarrierDiff(double xValue, const double attemptRate, const double barrier, const double unitMultipy)
Definition: MuonHelpers.cpp:42
double MANTID_CURVEFITTING_DLL getAz(double xValue, const double charField)
Definition: MuonHelpers.cpp:15
double MANTID_CURVEFITTING_DLL getActivationFunc(double xValue, const double attemptRate, const double barrier, const double unitMultipy)
Definition: MuonHelpers.cpp:34
Helper class which provides the Collimation Length for SANS instruments.