def compute_con(self, con_idx, n_epochs, psd_xx, psd_yy):
        if self.con_scores is None:
            self.con_scores = np.zeros(self.csd_shape)
        csd_mean = self._acc[con_idx] / n_epochs
        self.con_scores[con_idx] = np.imag(csd_mean) / np.sqrt(psd_xx * psd_yy)
Compute final con. score for some connections
dataset/ETHPy150Open mne-tools/mne-python/mne/connectivity/spectral.py/_ImCohEst.compute_con