cherab.phix.observer.fast_camera.RGBPipeline2D.initialise#
- RGBPipeline2D.initialise(pixels, pixel_samples, min_wavelength, max_wavelength, spectral_bins, spectral_slices, quiet)#
Initialises containers for the pipeline’s processing output.
The deriving class should use this method to perform any initialisation needed for their calculations.
This is a virtual method and must be implemented in a sub class.
- Parameters:
pixels (tuple) – A tuple defining the pixel dimensions being sampled (i.e. (512, 512)).
pixel_samples (int) – The number of samples being taken per pixel. Needed for statistical calculations.
min_wavelength (float) – The minimum wavelength in the spectral range.
max_wavelength (float) – The maximum wavelength in the spectral range.
spectral_bins (int) – Number of spectral samples across wavelength range.
spectral_slices (list) – List of spectral sub-ranges for cases where spectral rays is > 1 (i.e. dispersion effects turned on).
quiet (bool) – When True, suppresses output to the terminal.