Predefined Fourier transformed distributions for functional tests.
More...
Predefined Fourier transformed distributions for functional tests.
Definition at line 29 of file FTDistribution2DComponents.h.
◆ FTDistribution2DComponents()
FTDistribution2DComponents::FTDistribution2DComponents |
( |
| ) |
|
Definition at line 18 of file FTDistribution2DComponents.cpp.
Two-dimensional Cauchy distribution in Fourier space; corresponds to a normalized exp(-r) in real spa...
Two-dimensional cone distribution in Fourier space; corresponds to 1-r if r<1 (and 0 otherwise) in re...
Two-dimensional gate distribution in Fourier space; corresponds to normalized constant if r<1 (and 0 ...
Two-dimensional Gauss distribution in Fourier space; corresponds to normalized exp(-r^2/2) in real sp...
Two-dimensional Voigt distribution in Fourier space; corresponds to eta*Gauss + (1-eta)*Cauchy.
void add(const std::string &key, IFTDistribution2D *item)
References IRegistry< IFTDistribution2D >::add().
◆ add()
Definition at line 54 of file IRegistry.h.
57 throw std::runtime_error(
"Key '" + key +
"' already in registry");
58 m_data[key] = std::unique_ptr<ValueType>(item);
std::map< std::string, std::unique_ptr< IFTDistribution2D > > m_data
◆ getItem()
Definition at line 35 of file IRegistry.h.
37 auto it =
m_data.find(key);
39 throw std::runtime_error(
"Key '" + key +
"' not found in registry");
40 return it->second.get();
◆ keys()
Definition at line 43 of file IRegistry.h.
45 std::vector<std::string> result;
46 for (
const auto& it :
m_data)
47 result.push_back(it.first);
◆ size()
◆ m_data
The documentation for this class was generated from the following files: