psychopy.org | Reference | Downloads | Github

Contrast value of a grating pattern smaller than the display bit depth - how to control using StairHandler?

Hello,
I’d like to control the contrast of grating patterns using psychopy.data.StairHandler(…, stepType=‘db’, nUp=1, nDown=3).
As a contrast value given by this staircase changes adaptively along the dB scale in a loop, the contrast value can be much smaller than the actual contrast resolution the display can represent (1/1024 for 10-bit display).

This is a problem as there’s a mismatch between what’s being displayed and what’s being considered true in the code loop, especially when I’m dealing with a very low contrast value.
Is there a way to reflect the 10-bit quantization of contrast values in the stairhandler?

Thanks in advance
Allen