| File
name
|
StClick.[ch]
|
| Description
|
Click
stimulus generation module.
|
| Example
parameter file format
|
1.0e-3 Time for the delta-function click (s). 36.99 Stimulus signal intensity (dB SPL). 4.0e-3 Stimulus signal duration (seconds). 0.25e-3 Stimulus sampling interval, dt (seconds). |
| Test
program directory
|
Tests/Combinations
|
| Syntax
|
BOOLN GenerateSignal_ClickEarObjectPtr data);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetClickTime_Click(double
theClickTime);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetDuration_Click(double theDuration);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetIntensity_Clickdouble theIntensity);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPars_Click(double theClickTime, double
theIntensity, double theDuration, double
theSamplingInterval);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetSamplingInterval_Click(double
theSamplingInterval);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
# # Main Parameter file # output.dat Name of output file. # Module specifications #Par. file Name Description #--------- ----- ------------- ParFiles/St/Click1.par Click Stimulus generation paradigm. ParFiles/PE/PreEmph1.par null Outer-/middler-ear filter model. ParFiles/BM/GammaT5k.par null Basilar membrane filter model. ParFiles/IHC/CarneyRP1.par null IHC receptor potential model. ParFiles/IHC/Meddis86.par null Inner hair cell (IHC) model. ParFiles/AN/BinomSG1.par null Auditory nerve spike generation. ParFiles/NC/Dendrite3.par null Dendritic filtering. ParFiles/NC/MG92Stellate.par null Neural cell model. # Miscellaneous parameters 2.5e-3 Ramp up rise time for signal (s).
Figure [132] A stimulus generated by the Click module.
Example: Tests/Segmented_Mode/SegModeResp.c
# # SimulationSpec main parameter file. # output1.dat Output file. output2.dat Output file. # Module specifications. #Par. file Name Description #--------- ----- ------------- ParFiles/St/Click1.par Click Stimulus generation paradigm. SimSpecs/AN/Carney.sim null Simulation specification. # Miscellaneous parameters 3 Number of repeated runs 10e-3 Single run duration (s or max. samples). 3e-3 Segment duration (s or max. samples). 2.5e-3 Ramp up rise time for signal (s).
Figure [133] The click stimulus behaviour in segmented processing mode. The full stimulus is generated once in normal mode "output1.dat", then the stimulus is generated in segments in segment processing mode "output2.dat". Note that in segmented processing mode the stimulus repeats.