Mantid
Loading...
Searching...
No Matches
ApodizationFunctions.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2008 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12
13/*
14Contains the functions for calculating apodization,
15which can be applied to data prior to a FFT.
16
17@author Anthony Lim
18@date 10/08/2017
19*/
20
21namespace Mantid {
22namespace Algorithms {
23namespace ApodizationFunctions {
24
25double lorentz(double time, double decayConstant);
26double gaussian(const double time, const double decayConstant);
27double none(const double, const double);
28} // namespace ApodizationFunctions
29} // namespace Algorithms
30} // namespace Mantid
double none(const double, const double)
Returns no apodization function.
double lorentz(double time, double decayConstant)
Returns the evaluation of the Lorentz (an exponential decay) apodization function at a time (t) and d...
double gaussian(const double time, const double decayConstant)
Returns the evaluation of the Gaussian apodization function at a time (t) and decay constant tau: f =...
Helper class which provides the Collimation Length for SANS instruments.