def _check_compat(self, tfr):
        assert np.all(tfr.times == self.times)
        assert np.all(tfr.freqs == self.freqs)
checks that self and tfr have the same time-frequency ranges
dataset/ETHPy150Open mne-tools/mne-python/mne/time_frequency/tfr.py/AverageTFR._check_compat