Generate a Stimulus Protocol
The Generate Stim. Protocol window can create a custom secondary stimulus trace. This is useful in case the stimulus trace was not stored in the original recording.
It is accessed through File › Generate Stim. Protocol.
The second channel is generated as current (pA) if the primary channel is voltage (current clamp), and as voltage (mV) if the primary channel is current (voltage clamp).
The generated stimulus trace uses the number of records, number of samples and sampling interval of the file it is attached to.
Entering a stimulus protocol into the table

*.Each row of the table should correspond to a record of the data, in order. If a protocol has a variable number of records across files, you can use the * wildcard to automatically extend the protocol.
First, enter the Baseline current or voltage from the protocol. This is the trace values outside the step or ramp stimulus segments. Enter a baseline for every record, including zero where appropriate.
Next, enter the Start Time and Stop Time of the stimulus in seconds relative to the start of the record. Finally, enter the start and stop values that the stimulus will take. Absolute values should be entered (rather than changes from baseline). Use the same value at both time points for a step, or different values for a linear ramp between them.
Once a protocol is entered, use Save as Defaults to save it. If the Generate Stim. Protocol window is closed without saving, it will not be available the next time the window is opened.
Segments
Multiple Segments can be set in the protocol, with each segment representing a single step or ramp injection. Click Add in the Segments box to extend the protocol with another segment.
Each segment has its own start and stop times and stimulus values, so steps and ramps can be mixed within a record. The times of segments must not overlap, and each segment must start after the previous segment stops.
Using *
If a protocol can span a variable number of records across recordings, * can be used to extend it to match the loaded file. For example, if you have three test pulses, a variable number of stimulus records increasing by \(5\ \mathrm{pA}\), and then three final pulses, enter:
- Three rows for the test pulses.
- Two rows for the stimulus, with a \(5\ \mathrm{pA}\) increase between them.
- A
*row. - Three rows for the final pulses.
The * row fills the remaining records while keeping the final three rows at the end. It continues the difference between the two preceding rows for the baseline and the start and stop values of every segment. The start and stop times for each segment must match between those two rows and will remain unchanged in the generated rows.
Only one * row is allowed. It is applied to all segments and must follow at least two protocol rows.
Use Save as Defaults to keep the protocol for later use. Otherwise, closing the window discards unsaved table edits (you will be prompted before they are discarded).
Auto-fill
Auto-Fill is a convenient way to fill the table for all available records, when the number of records is known in advanced.
After entering the first row, select Baseline or the segment to fill, then click Fill Protocol. The selected values are repeated for every record in the loaded file.
Step by allows filling the protocol with increasing values (the step value is added per-record). For example, ‘0’ will repeat the stimulus of the first row across the available records in the loaded file. Setting it to ‘5’ would cumulatively increase the value across records (e.g. by 5 pA in current clamp mode).
Remove any * row before using Auto-Fill.
Preview protocol
Click Preview Protocol to view the generated stimulus trace before applying it to the recording.

Stored protocols
Use Stored Protocols to save multiple protocols for later use and switch between them. Enter a name and click Save to store the protocol currently in the table. Select a stored protocol and click Load to fill the table, or Delete to remove it from the stored protocols.
Loading a stored protocol replaces the current table entries after confirmation. To use it as the default protocol, load it into the table and click Save as Defaults.
Automatically generate a protocol on file load
Enable Generate protocol on file load to automatically generate and add the saved default protocol to a recording on load. If the recording already has a second channel, enable Overwrite existing stimulus traces to replace it.
If the protocol cannot be matched to the recording, for example because the number of records differs or the times extend beyond the recording, the recording loads without the generated trace.
The Generate protocol on file load and Overwrite existing stimulus traces settings are saved automatically when the window is closed and carried forward after restarting the software. They do not require clicking Save as Defaults.