cherab.phix.observer.fast_camera.colour#

Module to offer colour functionalities

Functions

resample_phantom_rgb(min_wavelength, ...)

Pre-calculates samples of Phantom Camera's RGB sensitivity curves [A/W] over desired spectral range.

spectrum_to_phantom_rgb(spectrum[, ...])

Calculate a tuple of R, G, B values from an input spectrum based on Phantom Hight-speed camera.

phantom_rgb_to_srgb(r, g, b)

Convert Phantom Camera's RGB to sRGB in range [0, 1]

plot_samples()

Plot RGB raw sensitivity curves of Phantom LAB110 camera.

plot_RGB_filter([wavelengths, fig, ax])

Plot interpolated RGB sensitivity curves of Phantom LAB 110 camera.