示例#1
0
 def plot(self,
          subplot=None,
          spines=['left', 'bottom'],
          figure_size=(5, 5),
          dpi=600,
          **kwargs):
     plot_single_spk(self, subplot, spines, figure_size, dpi, **kwargs)
示例#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))
示例#3
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))
示例#4
0
 def plot(self,subplot = None, spines = ['left', 'bottom'],
          figure_size = (5,5),dpi=600,**kwargs):
     plot_single_spk(self,subplot, spines,figure_size,dpi,**kwargs)