Пример #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)