'Load the data if not already preloaded.
Returns
epochs : instance of Epochs
The epochs object.
Notes
This function operates in-place.
.. versionadded:: 0.10.0'

def load_data(self):

    if self.preload:
        return self
    self._data = self._get_data()
    self.preload = True
    self._decim_slice = slice(None, None, None)
    self._decim = 1
    self._raw_times = self.times
    assert (self._data.shape[(-1)] == len(self.times))
    self._raw = None
    return self
