Next: 3 Magic values Up: Quality processing commands Prev: 1 Quality values

2 Masking quality

To determine whether a data point has bad quality, its QUALITY value is compared with a MASK and if any bit is set in both QUALITY and MASK then the overall quality is considered bad. By default the MASK is taken as 11111111, so any bit set in QUALITY will give bad overall quality. It is possible to attach a different MASK to a dataset (eg. by using the MASK command) and for this MASK to then be used to determine quality. For example, if some data points have been temporarily excluded by using the IGNORE variant of the QUALITY command, they could be switched back in by setting the MASK to 01111111, rather than by resetting all the QUALITY values with RESTORE. Setting the MASK to 00000000 will give all points good quality.



Next: 3 Magic values Up: Quality processing commands Prev: 1 Quality values