[Cohc,Cihc,OHC_Loss]=carney2015_fitaudiogram(FREQUENCIES,dBLoss,species,Dsd_OHC_Loss)

FREQUENCIES |
vector containing audiogram frequencies |

dBLoss |
loss [dB] per frequency in FREQUENCIES |

species |
model species "1" for cat, "2" for human BM tuning from Shera et al. (PNAS 2002), or "3" for human BM tuning from Glasberg & Moore (Hear. Res. 1990) |

Dsd_OHC_Loss |
optional array giving the desired threshold shift in dB that is caused by the OHC impairment alone (for each frequency in FREQUENCIES). If this array is not given, then the default desired threshold shift due to OHC impairment is 2/3 of the entire threshold shift at each frequency. This default is consistent with the effects of acoustic trauma in cats (see Bruce et al., JASA 2003, and Zilany and Bruce, JASA 2007) and estimated OHC impairment in humans (see Plack et al., JASA 2004). |

The output variables are arrays with values corresponding to eac The output variables are arrays with values corresponding to each frequency in the input array FREQUENCIES frequency in the input array FREQUENCIES.

Cohc |
is the outer hair cell (OHC) impairment factor; a value of 1 corresponds to normal OHC function and a value of 0 corresponds to total impairment of the OHCs. |

Cihc |
is the inner hair cell (IHC) impairment factor; a value of 1 corresponds to normal IHC function and a value of 0 corresponds to total impairment of the IHC. |

OHC_Loss |
is the threshold shift in dB that is attributed to OHC impairment (the remainder is produced by IHC impairment). |

Cohc and Cihc values that produce a desired threshold shift for the cat & human auditory-periphery model of Zilany et al. (J. Acoust. Soc. Am. 2009, 2014) and Bruce, Erfani & Zilany (Hear.Res.).