colour.contrast_sensitivity_function#

colour.contrast_sensitivity_function(method: Literal['Barten 1999'] | str = 'Barten 1999', **kwargs) NDArrayFloat[source]#

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

Parameters:
Returns:

Contrast sensitivity \(S\).

Return type:

numpy.ndarray

References

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

Examples

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