Visual Degrees to Pixels Mapping Convention

Hi,

I am using some gaze mapping data from a visual coding experiment to understand the center of gaze during a stimulus presentation. I have included an example of my code below calculating the gazePosition on the monitor and the output when plotting. My question is if the pixel coordinate that I am returned when using m.visual_degrees_to_pixels map to a pixel coordinate on a pre-warped monitor (shown below) or a post-warped monitor?

I would appreciate any clarification here.

Thanks in advance,

Nick B.

import allensdk.brain_observatory.stimulus_info as si
m =si.BrainObservatoryMonitor()

gazeData = individualSession.get_screen_gaze_data()

gazePosition=[m.visual_degrees_to_pixels(row.raw_screen_coordinates_spherical_x_deg), m.visual_degrees_to_pixels(row.raw_screen_coordinates_spherical_y_deg)]) for row in gazeData.itertuples()] + m.experiment_geometry.mon_res/2

Hi Nick,

The gaze position is provided in visual degrees. However, it cannot be mapped to specific pixels on the monitor. The gaze position should be analyzed as a relative value.

Best,
Saskia