Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
        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))
Ejemplo n.º 3
0
 def plot(self,envelope = True, figure_size = (15,10),dpi=600):        
     plot_single_hfo(self, envelope = envelope, figure_size = figure_size,dpi=dpi)
Ejemplo n.º 4
0
 def plot(self, envelope=True, figure_size=(15, 10), dpi=600):
     plot_single_hfo(self,
                     envelope=envelope,
                     figure_size=figure_size,
                     dpi=dpi)