25double lorentz(
const double time,
const double decayConstant) {
return exp(-time / decayConstant); }
35double gaussian(
const double time,
const double decayConstant) {
36 return exp(-(time * time) / (2. * decayConstant * decayConstant));
46double none(
const double ,
const double ) {
return 1.; }
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 =...