SetSensorColorSpace

>Psychtoolbox>PsychCal

[cal,errorRet] = SetSensorColorSpace(cal, T_sensor, S_sensor, [quiet])

Initialize the sensor color space for use in calibration. Requires
a calibration structure which contains the standard
fields. These are checked for and a message is printed if
they are not there.

Checks that wavelength sampling is consistent and splines
if not.

errorRet indicates status of the operation.
== 0: OK
== 1: Bad condition number on linear/device conversion matrix

quiet flag suppresses error messages, default 0.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychCal/SetSensorColorSpace.m