The I/O function of the 'cascade of asymmetric resonators with fast-acting compression' (CARFAC) modelis calculated by the RMS of the out in response tones at intensities from 10 to 100 dB SPL at the CFs of 0.5, 1, 2 and 4 kHz. The nonlinear compressive shape of the I/O function represents the cochlear mechanical compression.
This code produces the following output:
CF_IHC_params = struct with fields: just_hwr: 0 one_cap: 1 ac_corner_Hz: 20 tau_lpf: 8.0000e-05 tau_out: 5.0000e-04 tau_in: 0.0100 tau1_out: 5.0000e-04 tau1_in: 2.0000e-04 tau2_out: 1.0000e-03 tau2_in: 0.0100