AO Control: Substitude reference
Sometimes, a relative reference is changed for convenience of the operator. The mirror response would in principle still work fine as the nearfield did not shift and the irradiation of the sensor stays the same. However, a new response has to be recorded in order to match the MD5-hash of the reference.
It would be more convenient if the reference-hash could just be substituded if the rows and cols of the gradient field match the expected ones. Of course, this has to be veryfied by the user. If this criterion is false, the closed loop is aborted with an error message as known. If not, a dialogue could be shown:
"The the current reference does not match the mirror response. However, it features the same resolution. Do you want to substitute the reference hash and continue the control-loop? (WARNING: If the beam properties did change, the control might fail. -> Yes / No"