Пример #1
0
 def __init__(self,
              idpac=(1, 2, 3),
              f_pha=[2, 4],
              f_amp=[60, 200],
              dcomplex='hilbert',
              filt='fir1',
              cycle=(3, 6),
              filtorder=3,
              width=7,
              n_bins=18,
              verbose=None):
     """Check and initialize."""
     set_log_level(verbose)
     self._idcheck(idpac)
     _PacObj.__init__(self,
                      f_pha=f_pha,
                      f_amp=f_amp,
                      dcomplex=dcomplex,
                      filt=filt,
                      cycle=cycle,
                      filtorder=filtorder,
                      width=width)
     _PacPlt.__init__(self)
     self.n_bins = int(n_bins)
     logger.info("Phase Amplitude Coupling object defined")
Пример #2
0
 def __init__(self,
              f_pha=[2, 4],
              f_amp=[60, 200],
              dcomplex='hilbert',
              cycle=(3, 6),
              width=7,
              verbose=None):
     """Check and initialize."""
     set_log_level(verbose)
     _PacObj.__init__(self,
                      f_pha=f_pha,
                      f_amp=f_amp,
                      dcomplex=dcomplex,
                      cycle=cycle,
                      width=width)
     _PacPlt.__init__(self)
     logger.info("Event Related PAC object defined")
Пример #3
0
 def __init__(self,
              f_pha=[2, 4],
              f_amp=[60, 200],
              dcomplex='hilbert',
              cycle=(3, 6),
              width=7,
              verbose=None):
     """Check and initialize."""
     set_log_level(verbose)
     _PacObj.__init__(self,
                      f_pha=f_pha,
                      f_amp=f_amp,
                      dcomplex=dcomplex,
                      cycle=cycle,
                      width=width)
     _PacPlt.__init__(self)
     logger.info("Preferred phase object defined")
     self.method = 'Preferred-Phase (PP)'