|
Mantid
|
#include <WeightingStrategy.h>
Public Member Functions | |
| ParabolicWeighting (const double cutOff) | |
| Constructor. | |
| double | weightAt (const double &adjX, const double &ix, const double &adjY, const double &iy) override |
| Calculate the weight at distance from epicenter using parabolic scaling. | |
| double | weightAt (const Mantid::Kernel::V3D &) override |
| Implementation doesn't make sense on this type. | |
Public Member Functions inherited from Mantid::Algorithms::WeightingStrategy | |
| WeightingStrategy () | |
| Constructor. | |
| WeightingStrategy (const double cutOff) | |
| Constructor. | |
| virtual | ~WeightingStrategy ()=default |
| Destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from Mantid::Algorithms::WeightingStrategy | |
| double | m_cutOff |
| Cutoff member. | |
Definition at line 75 of file WeightingStrategy.h.
| Mantid::Algorithms::ParabolicWeighting::ParabolicWeighting | ( | const double | cutOff | ) |
Constructor.
| cutOff | : distance cutOff |
Definition at line 83 of file WeightingStrategy.cpp.
|
overridevirtual |
Calculate the weight at distance from epicenter using parabolic scaling.
| adjX | : The number of Y (vertical) adjacent pixels to average together |
| ix | : current index x |
| adjY | : The number of X (vertical) adjacent pixels to average together |
| iy | : current index y |
Implements Mantid::Algorithms::WeightingStrategy.
Definition at line 102 of file WeightingStrategy.cpp.
|
overridevirtual |
Implementation doesn't make sense on this type.
| distance | : |
Implements Mantid::Algorithms::WeightingStrategy.
Definition at line 90 of file WeightingStrategy.cpp.
References Mantid::Algorithms::WeightingStrategy::m_cutOff, Mantid::Kernel::V3D::X(), and Mantid::Kernel::V3D::Y().