colour.contrast_sensitivity_function

colour.contrast_sensitivity_function(method='Barten 1999', **kwargs)[source]

Returns the contrast sensitivity \(S\) of the human eye according to the contrast sensitivity function (CSF) described by given method.

Parameters

method (unicode, optional) – {‘Barten 1999’}, Computation method.

Other Parameters
Returns

Contrast sensitivity \(S\).

Return type

ndarray

References

[Bar99], [Bar03], [CKMW04], [InternationalTUnion15c],

Examples

>>> contrast_sensitivity_function(u=4)  
360.8691122...
>>> contrast_sensitivity_function('Barten 1999', u=4)  
360.8691122...