mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
211 stars 124 forks source link

Ignore masked detectors in smooting #4997

Closed OwenArnold closed 9 years ago

OwenArnold commented 12 years ago

Nearest neighbours will ignore monitors, but it also needs to ignore masked detectors.

This can be acheived by.

Note that when using the radius method of smooth neighbours. Users will end up with less neighbours than they used to have when this is implemented (if their are masked detectors). Using the 'Exact' method of selecting neighbours they will end up with the same number since the NearestNeighbours should keep looking for neighbours until it meets the specified value (while still ignoring masked ones). Pascal also wants the option to override this if possible, so that he can select 8 nearest neighbours, but say only end up using 7 if one is masked.

OwenArnold commented 9 years ago

This issue was originally trac ticket 4150