visiomode.stimuli.grayscale_array

visiomode.stimuli.grayscale_array(array, contrast=1.0)

Convert a 2D array to 3D array of grayscale values.