-
Notifications
You must be signed in to change notification settings - Fork 10
4. Bistim Subclass
The bistim.m class which is a subclass of magstim.m, is used to control BiStim^2 Magstim stimulators. This subclass inherits all the methods from its parent class, magstim.m, while also overwriting a few (i.e, getParameters) as well as adding some more commands for dealing with a Bistim device.
Inherited methods include Initialising, Connecting, Disconnecting, Enabling/Disabling Remote Control, Enabling and Disabling the device, Sending Single Trigger, Setting Amplitude of coil A power, and Getting Coil Temperature.
This function allows you to set the power of coil B in the Bistim stimulator to the desired value.
magstimObject.setAmplitudeB(power);
- power {int}: is the desired power amplitude for stimulator B.
By calling this function, you will be empowered to set the IPI value to the desired value.
magstimObject.setPulseInterval(ipi,checkWarning);
- ipi {double}: is the desired interpulse interval which is the interval between each paired pulse.
- checkWarning {bool}: is a boolean determining whether to check for potential warnings in the ipi boundaries.
To enable or disable the high-resolution mode on your device, you can call this function.
magstimObject.highResolutionMode(enable);
- enable {boolean}: is a boolean that can be True(1) to enable and False(0) to disable the High-Resolution time setting mode.
This subcalss will hold this information as a private property to later use it when trying to determine different parameters' boundaries according to the time setting mode of the Bistim device.
This function overwrites the same method in its parent class and provides you with all the available information about the current instrument status and its various parameters.
magstimObject.getParameters();