Hi! The Gabor patch locations are initially defined in degrees from the center of the screen, ranging from -40º to +40º along both axes. When we translate those to azimuth and elevation, they are relative to the center of the mouse’s binocular visual field (0º azimuth = directly in front of the mouse, with positive values to the right), hence the +10º to +90º and -30º to +50º.
Once you know the angular location of the stimuli, I believe you can just use the visual_degrees_to_pixels
method to translate them into pixel coordinates.