def __init__(self): """ Initialise the structural information, coupling function, and monitors. """ # Initialise some Monitors with period in physical time raw = monitors.Raw() rawvoi = monitors.RawVoi() gavg = monitors.GlobalAverage(period=2**-2) subsamp = monitors.SubSample(period=2**-2) tavg = monitors.TemporalAverage(period=2**-2) coupl = monitors.AfferentCoupling() coupltavg = monitors.AfferentCouplingTemporalAverage(period=2**-2) eeg = monitors.EEG.from_file() eeg.period = 2**-2 eeg2 = monitors.EEG.from_file() eeg2.period = 2**-2 eeg2.reference = 'Fp2' # EEG with a reference electrode meg = monitors.MEG.from_file() meg.period = 2**-2 self.monitors = (raw, rawvoi, gavg, subsamp, tavg, coupl, coupltavg, eeg, eeg2, meg) self.method = None self.sim = None self.stim_nodes = numpy.r_[10, 20] self.stim_value = 3.0
def test_monitor_afferentcoupling(self): monitors.AfferentCoupling()