colour.corresponding.corresponding_chromaticities_prediction_VonKries

colour.corresponding.corresponding_chromaticities_prediction_VonKries(experiment=1, transform='CAT02')[source]

Returns the corresponding chromaticities prediction for Von Kries chromatic adaptation model using given transform.

Parameters:
  • experiment (integer or CorrespondingColourDataset, optional) – {1, 2, 3, 4, 6, 8, 9, 11, 12} Breneman (1987) experiment number or colour.CorrespondingColourDataset class instance.
  • transform (unicode, optional) – {‘CAT02’, ‘XYZ Scaling’, ‘Von Kries’, ‘Bradford’, ‘Sharp’, ‘Fairchild’, ‘CMCCAT97’, ‘CMCCAT2000’, ‘CAT02_BRILL_CAT’, ‘Bianco’, ‘Bianco PC’}, Chromatic adaptation transform.
Returns:

Corresponding chromaticities prediction.

Return type:

tuple

References

[Breneman1987b], [Fairchild2013t]

Examples

>>> from pprint import pprint
>>> pr = corresponding_chromaticities_prediction_VonKries(2, 'Bradford')
>>> pr = [(p.uv_m, p.uv_p) for p in pr]
>>> pprint(pr)  # doctest: +ELLIPSIS
[(array([ 0.207,  0.486]), array([ 0.2082014...,  0.4722922...])),
 (array([ 0.449,  0.511]), array([ 0.4489102...,  0.5071602...])),
 (array([ 0.263,  0.505]), array([ 0.2643545...,  0.4959631...])),
 (array([ 0.322,  0.545]), array([ 0.3348730...,  0.5471220...])),
 (array([ 0.316,  0.537]), array([ 0.3248758...,  0.5390589...])),
 (array([ 0.265,  0.553]), array([ 0.2733105...,  0.5555028...])),
 (array([ 0.221,  0.538]), array([ 0.227148 ...,  0.5331318...)),
 (array([ 0.135,  0.532]), array([ 0.1442730...,  0.5226804...])),
 (array([ 0.145,  0.472]), array([ 0.1498745...,  0.4550785...])),
 (array([ 0.163,  0.331]), array([ 0.1564975...,  0.3148796...])),
 (array([ 0.176,  0.431]), array([ 0.1760593...,  0.4103772...])),
 (array([ 0.244,  0.349]), array([ 0.2259805...,  0.3465291...]))]