In the current Virgo DQ flags reprocessing step, I have done a few checks on the segments of the flag DQ_HREC_BAD_QUALITY reprocessed by Nicolas A.
This is the occasion to put in the logbook some definitions and three plots showing some examples of h(t) and Hrec quality flag behavior when the ITF unlocks or relocks.
Each plot shows the same following signals:
- Hrec_Flag_Quality and Hrec_Veto_dataQuality : contains the info about h(t) reconstruction quality
- Hrec_Range_BNS : the BNS range
- Hrec_STATE_VECTOR : the original state vector which then becomes DQ_ANALYSIS_STATE_VECTOR in the online h(t) frames sent to CIT (its bits are defined here)
- Hrec_hoft_20000Hz_max : the max value of h(t) computed every second.
- DQ_META_ITF_Mode : a Metatron flag which is +1 when ITF in science mode
- META_ITF_LOCK_index : a Metatron flag which is 170 when ITF is optimally locked.
On plot 1, you can see that a few seconds before Hrec_Veto_dataQuality goes to zero, h(t) goes to large values (and BNS range drops).
Those few seconds are not flagged by DQ_HREC_BAD_QUALITY but should not be considered as good h reconstruction time period.
An offline DQ flag DQ_LOCK_LAST_05S has been produced and can accomodate for this, mqybe once extended from 5 sec before unlock to 8 sec before unlock.
Plot 2 is an example where, for some reason, the ITF goes out of science mode several minutes before the unlock.
During those minutes, h(t) is correctly reconstructed and the data could be used in case of an event detected by LIGO.
Maybe, the reprocessing of science mode segments could include such minutes whenever no good reason is found in the logbook for such out-of-science-mode periods.
Plot 3 is an example of a relock, where, even if Hrec_Flag_Quality is +1 (good quality of h(t) reconstruction), the h(t) value is still in a transitory state for several minutes
And the ITF is put in science mode (DQ_META_ITF_Mode=+1) only after this transitory period.
This an example where the science mode segment should not be extended by an offline reprocessing.