| File
name
|
UtShapePulse.[ch]
|
| Description
|
This
module turns a train of detected spikes into a pulse train with set magnitudes
and durations.
|
| Example
parameter file format
|
0.0 Event threshold (units). 0.2e-3 Pulse duration (s). 3.8 Pulse magnitude (nA?). |
| Test
program directory
|
Tests/Utilities
|
| Syntax
|
BOOLN Process_Utility_ShapePulse(EarObjectPtr
data);
|
| Returns
|
TRUE
if the process is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetEventThreshold_Utility_ShapePulse(double
theEventThreshold);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPars_Utility_ShapePulse(double eventThreshold,
double pulseDuration, double pulseMagnitude);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPulseDuration_Utility_ShapePulse(double
thePulseDuration);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPulseMagnitude_Utility_ShapePulse(double
thePulseMagnitude);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
# # Main Parameter file # output1.dat Name of output file. output2.dat Name of output file. # Module specifications. #Par. file Name Description #--------- ----- ------------- PulseTr2.par PulseTrain Stimulus generation paradigm. ShapePu1.par Shape pulse utility module parameter file. # Miscellaneous parameters 2 No. of repeated runs.
Figure [162] This routine shows a pulse train stimulus processed using the "ShapePulse" utility. The process is repeated twice: once with the module accumulating the results, then once with the module process being reset just before each time it is called. The two runs are output to the files 'output1.dat' and 'output2.dat' respectively.