Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-DAQ›Calibration Comment on #64664 #64698

Comment to BNS range drops look longer than the actual problem of ~25min glitches

Didier is right, unlike Francesco suggested, we do use a median to compute the PSD used for the range calculation. Didier is using the right function call. But the origin of the effect is a bit more subtle.

When there is a 25 minutes glitch the PSD of time of the glitch is completely useless (and only this one). But when you take the median over 21 values with one value is completely off, instead of taking the value #10 (after ranking them), you always take value #9, which introduce a bias in the PSD and therefore a bias in the range. This bias is lasting as long as the “corrupted” PSD is used for the median computation, i.e; 21*8/2 = 84 seconds. To illustrate this effect, the first plot is comparing the online BNS range (blue line), with a computation of the range (red line) where the median value is actually the next value. You can see an offset between the two curve that correspond to the deep of the glitch.

Now, why we don’t see this glitch in the gwistat range? This is just a matter of choices made for the parameters used to compute the PSD, and especially for how long we average the PSD. If instead of 21 values we use 81 values with 4 seconds long FFTs, you get the red curve of the second plot where the deep of the glitch is more reduced. The average level is not exactly the same, since there is not a unique way to define a PSD. Obviously, the deep of the glitch could be further reduce, making it invisible by using more FFTs. But that is just sweeping the dust under the rug.

These glitches are indeed short (100 ms), but for a typical analysis, due to windowing, we are losing a bit more than 1 seconds of data. This is about what the range is showing: we are losing about 3% of the range for 84 seconds, or 0.03*84=2.5 s.

One additional comment: it would be also probably unsafe to change the parameters used to compute the range in the middle of the run to hide these glitches, since (beside hiding the issue) it could change slightly the range and bias comparison between different time of the run.