Chromaticity

Chromaticity Module

This module contains functions related to the chromaticity.

Chromaticity Functions

Functions to compute the chromaticity.

chroma_gui.chromaticity.chroma_fct.chromaticity_func(x, *args)[source]

Returns the taylor expansion of the chromaticity

q0
+ q1 * x
+ q2 * x**2 * 1/2!
+ q3 * x**3 * 1/3!
...
chroma_gui.chromaticity.chroma_fct.get_chromaticity(filename, chroma_tfs, dpp_range, fit_orders, axis)[source]

Computes the chromaticity for a given plane and DPP file The values are computed via a fit, for all orders between min(fit_orders) and max(fit_orders), inclusive

The TFS given as input is then returned with an added row containing the chromaticity values

chroma_gui.chromaticity.chroma_fct.get_chromaticity_df_with_notation(chroma_tfs)[source]

Returns a dataFrame with the chromaticity with the headers set with exponents and the values divided