Data flagging

Self-calibration is intended to improve upon a basically good solution.

When corrections are too large, it may be wise for the user to flag data that suffer from excessive corrections. This is possible a posteriori (i.e. after a SELFCAL APPLY command) using command SELFCAL FLAG as below

  selfcal flag [Threshold]
Threshold is the correction above which data should be flagged (in degrees for Phase or Delay, no units for Ampli). Like for SELFCAL APPLY, the current value of SELF_MODE is used to determine the mode.

Apart from minor verifications and messages upon the self calibration solution validity, the command is equivalent to command APPLY /FLAG

  apply 'self_mode' 0 /flag [Threshold]

Caveat: This is not handled (yet) by the SOLVE command, only by the APPLY command.