|
Mantid
|
A class to filter HKLs according to structure factor magnitudes. More...
#include <BasicHKLFilters.h>
Public Member Functions | |
| std::string | getDescription () const noexcept override |
| Returns a description for the filter that contains the minimum F^2. More... | |
| HKLFilterStructureFactor (StructureFactorCalculator_sptr calculator, double fSquaredMin=1.0e-6) | |
| Constructor, throws exception if the calculator pointer is invalid. More... | |
| bool | isAllowed (const Kernel::V3D &hkl) const noexcept override |
| Returns true if F^2(hkl) is larger than the stored minimum. More... | |
Public Member Functions inherited from Mantid::Geometry::HKLFilter | |
| std::function< bool(const Kernel::V3D &)> | fn () const noexcept |
| Returns a function object that wraps HKLFilter::isAllowed. More... | |
| virtual std::string | getDescription () const =0 |
| virtual bool | isAllowed (const Kernel::V3D &hkl) const =0 |
| virtual | ~HKLFilter ()=default |
Protected Attributes | |
| StructureFactorCalculator_sptr | m_calculator |
| double | m_fSquaredMin |
A class to filter HKLs according to structure factor magnitudes.
This filter takes a StructureFactorCalculator and calculates the structure factor for each HKL. If F^2 is larger than the specified minimum, the reflection is considered allowed. The default minimum is 1e-6.
Definition at line 122 of file BasicHKLFilters.h.
| Mantid::Geometry::HKLFilterStructureFactor::HKLFilterStructureFactor | ( | StructureFactorCalculator_sptr | calculator, |
| double | fSquaredMin = 1.0e-6 |
||
| ) |
Constructor, throws exception if the calculator pointer is invalid.
Definition at line 75 of file BasicHKLFilters.cpp.
References m_calculator.
|
overridevirtualnoexcept |
Returns a description for the filter that contains the minimum F^2.
Implements Mantid::Geometry::HKLFilter.
Definition at line 83 of file BasicHKLFilters.cpp.
References m_fSquaredMin.
|
overridevirtualnoexcept |
Returns true if F^2(hkl) is larger than the stored minimum.
Implements Mantid::Geometry::HKLFilter.
Definition at line 91 of file BasicHKLFilters.cpp.
|
protected |
Definition at line 130 of file BasicHKLFilters.h.
Referenced by HKLFilterStructureFactor().
|
protected |
Definition at line 131 of file BasicHKLFilters.h.
Referenced by getDescription().