BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Collection of detector masks.
Public Member Functions | |
DetectorMask (const DetectorMask &other) | |
DetectorMask (const IAxis &xAxis, const IAxis &yAxis) | |
~DetectorMask () | |
void | addMask (const IShape2D &shape, bool mask_value) |
Add mask to the stack of detector masks. The value "true" means that the area will be excluded from the analysis. More... | |
bool | hasMasks () const |
Returns true if has masks. More... | |
bool | isMasked (size_t index) const |
int | numberOfMaskedChannels () const |
size_t | numberOfMasks () const |
DetectorMask & | operator= (const DetectorMask &other) |
const MaskPattern * | patternAt (size_t iMask) const |
DetectorMask::DetectorMask | ( | const IAxis & | xAxis, |
const IAxis & | yAxis | ||
) |
DetectorMask::~DetectorMask | ( | ) |
DetectorMask::DetectorMask | ( | const DetectorMask & | other | ) |
void DetectorMask::addMask | ( | const IShape2D & | shape, |
bool | mask_value | ||
) |
Add mask to the stack of detector masks. The value "true" means that the area will be excluded from the analysis.
shape | The shape of mask. |
mask_value | The value of mask |
bool DetectorMask::hasMasks | ( | ) | const |
Returns true if has masks.
bool DetectorMask::isMasked | ( | size_t | index | ) | const |
int DetectorMask::numberOfMaskedChannels | ( | ) | const |
size_t DetectorMask::numberOfMasks | ( | ) | const |
DetectorMask& DetectorMask::operator= | ( | const DetectorMask & | other | ) |
const MaskPattern* DetectorMask::patternAt | ( | size_t | iMask | ) | const |