def ploting(self,idx): clear_output() if self.event[idx].htype == 'Spike': plot_single_spk(self.event[idx], figure_size=figure_size, dpi = dpi,saveplot=saveplot,**kwargs) if self.event[idx].htype == 'HFO': if cutoff: cut = self.event[ev].cutoff else: cut = None plot_single_hfo(self.event[idx], figure_size = figure_size,dpi=dpi,xlim=xlim,cutoff = cut,saveplot=saveplot) plt.suptitle('Event ' + str(idx))
def ploting(self, idx): clear_output() if self.event[idx].htype == 'Spike': plot_single_spk(self.event[idx], figure_size=figure_size, dpi=dpi, saveplot=saveplot, **kwargs) if self.event[idx].htype == 'HFO': if cutoff: cut = self.event[ev].cutoff else: cut = None plot_single_hfo(self.event[idx], figure_size=figure_size, dpi=dpi, xlim=xlim, cutoff=cut, saveplot=saveplot) plt.suptitle('Event ' + str(idx))
def plot(self,envelope = True, figure_size = (15,10),dpi=600): plot_single_hfo(self, envelope = envelope, figure_size = figure_size,dpi=dpi)
def plot(self, envelope=True, figure_size=(15, 10), dpi=600): plot_single_hfo(self, envelope=envelope, figure_size=figure_size, dpi=dpi)