@@ -109,8 +109,8 @@ class InductionFactors_CAM16(MixinDataclassIterable):
109109
110110 Notes
111111 -----
112- - The *CAM16* colour appearance model induction factors are the same as
113- *CIECAM02* colour appearance model.
112+ - The *CAM16* colour appearance model induction factors are the same
113+ as *CIECAM02* colour appearance model.
114114
115115 References
116116 ----------
@@ -142,7 +142,7 @@ class CAM_Specification_CAM16(MixinDataclassArithmetic):
142142 Parameters
143143 ----------
144144 J
145- Correlate of *Lightness * :math:`J`.
145+ Correlate of *lightness * :math:`J`.
146146 C
147147 Correlate of *chroma* :math:`C`.
148148 h
@@ -185,7 +185,7 @@ def XYZ_to_CAM16(
185185 compute_H : bool = True ,
186186) -> CAM_Specification_CAM16 :
187187 """
188- Compute the *CAM16* colour appearance model correlates from given
188+ Compute the *CAM16* colour appearance model correlates from the specified
189189 *CIE XYZ* tristimulus values.
190190
191191 Parameters
@@ -195,22 +195,22 @@ def XYZ_to_CAM16(
195195 XYZ_w
196196 *CIE XYZ* tristimulus values of reference white.
197197 L_A
198- Adapting field *luminance* :math:`L_A` in :math:`cd/m^2`, (often taken
199- to be 20% of the luminance of a white object in the scene).
198+ Adapting field *luminance* :math:`L_A` in :math:`cd/m^2`, (often
199+ taken to be 20% of the luminance of a white object in the scene).
200200 Y_b
201201 Luminous factor of background :math:`Y_b` such as
202- :math:`Y_b = 100 x L_b / L_w` where :math:`L_w` is the luminance of the
203- light source and :math:`L_b` is the luminance of the background. For
204- viewing images, :math:`Y_b` can be the average :math:`Y` value for the
205- pixels in the entire image, or frequently, a :math:`Y` value of 20,
206- approximate an :math:`L^*` of 50 is used.
202+ :math:`Y_b = 100 x L_b / L_w` where :math:`L_w` is the luminance of
203+ the light source and :math:`L_b` is the luminance of the background.
204+ For viewing images, :math:`Y_b` can be the average :math:`Y` value
205+ for the pixels in the entire image, or frequently, a :math:`Y` value
206+ of 20, approximate an :math:`L^*` of 50 is used.
207207 surround
208208 Surround viewing conditions induction factors.
209209 discount_illuminant
210210 Truth value indicating if the illuminant should be discounted.
211211 compute_H
212- Whether to compute *Hue* :math:`h` quadrature :math:`H`. :math:`H` is
213- rarely used, and expensive to compute.
212+ Whether to compute *Hue* :math:`h` quadrature :math:`H`. :math:`H`
213+ is rarely used, and expensive to compute.
214214
215215 Returns
216216 -------
@@ -361,27 +361,27 @@ def CAM16_to_XYZ(
361361 discount_illuminant : bool = False ,
362362) -> NDArrayFloat :
363363 """
364- Convert from *CAM16* specification to *CIE XYZ* tristimulus values.
364+ Convert *CAM16* specification to *CIE XYZ* tristimulus values.
365365
366366 Parameters
367367 ----------
368368 specification
369369 *CAM16* colour appearance model specification. Correlate of
370- *Lightness * :math:`J`, correlate of *chroma* :math:`C` or correlate of
371- *colourfulness* :math:`M` and *hue* angle :math:`h` in degrees must be
372- specified, e.g., :math:`JCh` or :math:`JMh`.
370+ *lightness * :math:`J`, correlate of *chroma* :math:`C` or correlate
371+ of *colourfulness* :math:`M` and *hue* angle :math:`h` in degrees
372+ must be specified, e.g., :math:`JCh` or :math:`JMh`.
373373 XYZ_w
374374 *CIE XYZ* tristimulus values of reference white.
375375 L_A
376- Adapting field *luminance* :math:`L_A` in :math:`cd/m^2`, (often taken
377- to be 20% of the luminance of a white object in the scene).
376+ Adapting field *luminance* :math:`L_A` in :math:`cd/m^2`, (often
377+ taken to be 20% of the luminance of a white object in the scene).
378378 Y_b
379379 Luminous factor of background :math:`Y_b` such as
380- :math:`Y_b = 100 x L_b / L_w` where :math:`L_w` is the luminance of the
381- light source and :math:`L_b` is the luminance of the background. For
382- viewing images, :math:`Y_b` can be the average :math:`Y` value for the
383- pixels in the entire image, or frequently, a :math:`Y` value of 20,
384- approximate an :math:`L^*` of 50 is used.
380+ :math:`Y_b = 100 x L_b / L_w` where :math:`L_w` is the luminance of
381+ the light source and :math:`L_b` is the luminance of the background.
382+ For viewing images, :math:`Y_b` can be the average :math:`Y` value
383+ for the pixels in the entire image, or frequently, a :math:`Y` value
384+ of 20, approximate an :math:`L^*` of 50 is used.
385385 surround
386386 Surround viewing conditions.
387387 discount_illuminant
@@ -395,8 +395,8 @@ def CAM16_to_XYZ(
395395 Raises
396396 ------
397397 ValueError
398- If neither :math:`C` or :math:`M` correlates have been defined in the
399- ``specification`` argument.
398+ If neither :math:`C` or :math:`M` correlates have been defined in
399+ the ``specification`` argument.
400400
401401 Notes
402402 -----
0 commit comments