previous next Up Title Contents

Utility_ReduceDT:


File name
UtReduceDt.[ch]


Description
This module produces an output signal whose sampling rate is increased by reducing the sampling interval of the process EarObject's input signal by a specified denominator, i.e. dt->dt/denominator.


Example parameter file format
2	Reduction denominator.



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_ReduceDt(...) Process Routine

Syntax
BOOLN Process_Utility_ReduceDt(EarObjectPtr data);


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

The SetDenominator_Utility_ReduceDt(...) Routine

Syntax
BOOLN SetDenominator_Utility_ReduceDt(int theDenominator);


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

The SetPars_Utility_ReduceDt(...) Routine

Syntax
BOOLN SetPars_Utility_ReduceDt(int denominator);


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

Example: Tests/Utilities/ReduceDt.c

Parameter file: ReduceDt.par:
#
# Main Parameter file
#

output.dat	Name of output file.

# Module specifications.

#Par. file	Name			Description
#---------	-----			-------------
PTone2.par	PureTone		Stimulus generation paradigm.

RedceDt1.par	Reduce channels utility module parameter file.

# Miscellaneous parameters

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

Figure [158] A pure tone stimulus run through the "ReduceDt" utility module.


previous next Up Title Contents