Skip to content

Commit

Permalink
WIP [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Apr 17, 2023
1 parent 67d35de commit 9145025
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions mne/time_frequency/spectrogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,14 @@ def _detrend_picks(self):
def ch_names(self):
return self.info['ch_names']

@property
def data(self):
return self._data

@data.setter
def data(self, data):
self._data = data

@property
def freqs(self):
return self._freqs
Expand All @@ -202,6 +210,15 @@ def shape(self):
def times(self):
return self._times

def apply_baseline(self, baseline, mode, verbose):
# XXX TODO
pass

def crop(self, tmin=None, tmax=None, fmin=None, fmax=None,
include_tmax=True):
# XXX TODO
pass

@fill_doc
def get_data(self, picks=None, exclude='bads', fmin=0, fmax=np.inf,
tmin=None, tmax=None, return_times=False, return_freqs=False):
Expand Down Expand Up @@ -263,6 +280,10 @@ def get_data(self, picks=None, exclude='bads', fmin=0, fmax=np.inf,
return out[0]
return out

def plot(self, picks=None):
# XXX TODO
pass


class RawTFR(BaseTFR):
"""Data object for spectrotemporal representations of continuous data.
Expand Down

0 comments on commit 9145025

Please sign in to comment.