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

[Barten1999], [Barten2003], [Cowan2004], [InternationalTelecommunicationUnion2015],

Examples

>>> contrast_sensitivity_function(u=4)  # doctest: +ELLIPSIS
360.8691122...
>>> contrast_sensitivity_function('Barten 1999', u=4)  # doctest: +ELLIPSIS
360.8691122...