A class implementing a marker output.
Methods
Create a marker output.
If a default code is specified, it will automatically be applied when send() is called without a code. If a default duration is specified, a 0 is sent automatically after the specifed duration when send() is called without a duration.
Parameters : | interface : io.SerialPort or io.ParallelPort
default_code : int, optional
default_duration : int, optional
|
---|
Notes
EEG/MEG systems: If the system is receiving the markers on a parallel port, the duration between sending a code an the subsequent 0 should be at least 1000/samplerate!
Getter for default_code
Getter for default_duration
Getter for interface
Send a marker.
This sends a marker via the specified interface. If a duration is given, a 0 will be sent automatically after each code.
Note for EEG/MEG systems: If the system is receiving the markers on a parallel port, the duration between sending a code an the subsequent 0 should be at least 1000/samplerate!
Parameters : | code : int, optional
durartion : int, optional
|
---|