previous next Up Title Contents

Utility_RefractoryAdjust:


File name
UtRefractory.[ch]


Description
This module applies a refractory effect adjustment for auditory nerve output. It is normaly used to operate on spike probabilitiessee [13.].


Example parameter file format
1.0e-3	Refractory period (seconds).



Test program directory
Tests/Utilities

Generic Module Routines

This module has the standard Generic Module Routines (see 0 Basic Module Routines used in Generic Programming).

The Process_Utility_RefractoryAdjust(...) Process Routine

Syntax
BOOLN Process_Utility_RefractoryAdjust(EarObjectPtr data);


Returns
TRUE if the process is successful, otherwise it returns FALSE.

The SetPars_Utility_RefractoryAdjust(...) Routine

Syntax
BOOLN SetPars_Utility_RefractoryAdjust(double refractoryPeriod);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetRefractoryPeriod_Utility_RefractoryAdjust(...) Routine

Syntax
BOOLN SetRefractoryPeriod_Utility_RefractoryAdjust(double theRefractoryPeriod);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

Example: Tests/Utilities/Refractory.c

Parameter file: Refractory.par:
#
# Main Parameter file
#
output.dat	Name of output file.

# Module specifications.

#Par. file	Name			Description
#---------	-----			-------------
PTone4.par	PureTone		Stimulus generation paradigm.
Meddis86.par	IHC_Meddis86	Inner hair cell (IHC) model.

Refract1.par	Auditory nerve refractory adjustment.

# Miscellaneous parameters

10		No. of repeated runs.
2.5e-3	Ramp up rise time for signal (s).
Output

Figure [159] Output from a Meddis `86 IHC, adjusted for refractory effects using the "Refractory Adjust" utility module.


previous next Up Title Contents