cherab.phix.observer.fast_camera.colour.resample_phantom_rgb#

cherab.phix.observer.fast_camera.colour.resample_phantom_rgb(min_wavelength, max_wavelength, bins)#

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

Returns ndarray of shape [N, 3] where the last dimension (0, 1, 2) corresponds to (R, G, B).

Parameters:
  • min_wavelength (float) – Lower wavelength bound on spectrum

  • max_wavelength (float) – Upper wavelength bound on spectrum

  • bins (int) – Number of spectral bins in spectrum

Return type:

memoryview