FitDeviceGamma

>Psychtoolbox>PsychGamma

function [gammaFit,gammaInputFit,fitComment,gammaParams] = …
FitDeviceGamma(gammaRaw,gammaInputRaw,[fitType],[nInputLevels])

Fit the measured gamma function. Appends 0 measurement,
arranges data for fit, etc.

The returned gamma functions are normalized to a maximum of 1.

If present, argument fitType is passed on to FitGamma.

11/14/06 dhb Convert for [0-1] universe. Add nInputLevels arg.
5/27/10 dhb Allow gammaInputRaw to be either a single column or a matrix with same number of columns as devices.
Check that last input values are unity.
4/12/11 dhb Return the parameter vector of whatever functional form was fit

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychGamma/FitDeviceGamma.m