def _update_times(self):
        self._times = np.arange(self.n_times) / float(self.info['sfreq'])
        # make it immutable
        self._times.flags.writeable = False
Helper to update times
dataset/ETHPy150Open mne-tools/mne-python/mne/io/base.py/_BaseRaw._update_times