| Control |
| calib.zip 2,022 | calib.sit 3,365 |
This script allows the user to calibrate the scale and offset of waveform channels in a sampling configuration. First create a sampling configuration (or load in a previous one) and then run the script. You can sample data into a temporary data file. When sampling this data, you should make the waveform that you wish to calibrate stay at two distinct known levels for a short period of time.
You can then press the "Calibrate" button. This enables you to select the two level sections of waveform data in a channel and to specify what values they SHOULD be. The script will then alter the channel scale and offset in the sampling configuration to achieve those values.
| ppulse.zip 38,722 | ppulse.sit 39,378 |
The PPulse script sends paired pulses out through Digital Outputs 0 and 1. The time between the pulses (the inter-stimulus time) is chosen at random from a list of possible values held in a stipulated text file.
To run this script, make sure you have the sequencer files PPulse1, PPulse2 and PPulse3 in the same directory as the PPulse script. You must also have in this directory a text file containing the ISI's to use (an example text file called ISITimes is supplied).
Finally, connect Digital Outputs 0 and 1 to Event Inputs 0 and 1 on a micro 1401 (or if you are using a standard 1401 or 1401plus, connect Digital Outputs 0 and 1 to Digital Inputs 0 and 1).
The PPulseAn script is a standard analysis script which indicates how the analysis of data collected using the PPulse script might be automated.
Extended documentation (in Word format) is given for both scripts.
| 1902ctl.zip 10,626 | 1902ctl.sit 11,542 |
This script allows you to control one or more CED 1902s, and allows you to change channels, select different inputs, increase or decrease the gain. If you have more than one 1902, we assume that they are numbered 0, 1, 2 etc., and that they are connected to the 1401 analogue ports 0, 1, 2 etc. respectively.
Running the script
Connect your 1902(s) to the appropriate serial port, and run the script. You need not be sampling at this point, just check that you can talk to the 1902s. When you run, the script will search for any 1902s and display how many it finds in the toolbar. The searching may take a few seconds. If none are found, you will get an error message.
| pulse.zip 5,855 | pulse.sit 7,711 |
The accompanying files pulse.s2s andoutput.pls are programs that run within Spike2 for Windows/Mac software to enable the user to configure two independent pulse trains to be generated from 1401 DAC (waveform) outputs 0 and 1 during data acquisition.
pulse.s2s is a Spike2 script, i.e. a macro which customises the software for a particular application. In this case, the script provides a custom toolbar which is used to control aspects of data acquisition and pulse sequence output.
output.pls is a Spike2 sequence output file. This is a file which describes a pattern of voltage output from the 1401. The file contains commands which set parameters such as pulse onset time, pulse amplitude and pulse duration. These parameters are variable and their values are updated by the Spike2 script.
| spike\scripts\varvalue.s2s | varvalue.sit 3,085 |
This script assists in the generation of output sequences by carrying out some of the calculations required, for example sine output phase values.
| seqmake.zip 4,935 | seqmake.sit 7,882 |
This script generates sequencer files which can be run in Spike2 to generate output signals whilst sampling.
The script generates four types of output sequences:-
These scripts are stored as WinZip files, myscript.zip, except where they are shown as spike\scripts\myscript.s2s. Those latter files were installed with Spike2 and spike stands for the directory in which you installed Spike2. See the summaries by clicking on the description line, below. Then you can down-load them by clicking on the filename; please check the size received.