Calculation of n_segs in coherence plot
I am not sure if the calculation of n_segs in the coherence plot is quite right on line 485:
https://git.ligo.org/pygwb/pygwb/-/blob/master/pygwb/statistical_checks.py#L485
n_segs = len(self.sliding_omega_cut) * int(np.floor(self.params.segment_duration/(fftlength))-1)
To me it looks like the part calculating the number of FFT segments per segment is not accounting for the overlap using in calculating the PSD's and CSD's.