scalib = baumgartner2016_calibration(s)
baumgartner2016_calibration returns listener data with listener-specific sensitivity thresholds calibrated by joint optimization of PE and QE to minimize mismatch between experimental and predicted results.
baumgartner2016_calibration accepts the following optional parameters:
| 'Srange',Sr | Define the sensitivity range. Default is [eps,10]. | 
| 'prange',pr | Define the prior range. Default is [0,1]. | 
| 'latseg',ls | Define lateral segment(s) of data used for calibration. Default value is 0 deg. | 
| 'c',c | Structure for optional definition of listener-specific settings like playback level or stimulus. | 
| 'TolX',tx | Minimum tolerance of optimization argument (see help optimset for details). | 
| 'MaxIter',mi | Maximum number of optimization iterations (see help optimset for details). | 
baumgartner2016_calibration accepts the following flags:
| 'calibprior' | Calibrate also expectation prior. | 
| 'fminbnd' | Use fminbnd routine for calibration. This is the default. | 
| 'fminsearch' | Use fminsearch routine for calibration. | 
| 'search' | Try all possibilities. |