Confusion regarding meaning of "enabled", "selected" and "masked"
A Peak3D
object returns true
to Peak3D::enabled()
when _selected = true && _masked == true
. This is important because most algorithms discard peaks that aren't enabled, and raises a few issues:
- "Selected" means 2 things depending on the context. For the GUI, it means that a peak has been clicked on. In the core, it means that a peak has not been discarded as invalid.
- "It is often unclear what has caused a peak to become unselected; it can either be a function of the peak finder/integration/prediction processes, or a thrown exception (notably the interpolation
std::range_error
). - Nobody seems to know what "masked" means.