# Transformation of degrees of visual angle to pixels

**URL:** <https://community.brain-map.org/t/transformation-of-degrees-of-visual-angle-to-pixels/1623>\
**Category:** Technical\
**Tags:** brain-observatory-visual-coding, analysis, allensdk\
**Created:** [May 6, 2022, 12:11pm UTC](https://community.brain-map.org/t/transformation-of-degrees-of-visual-angle-to-pixels/1623 "2022-05-06T12:11:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![LMO](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@LMO](https://community.brain-map.org/u/LMO)\
**Post date:** [August 8, 2022, 10:49am UTC](https://community.brain-map.org/t/transformation-of-degrees-of-visual-angle-to-pixels/1623/6 "2022-08-08T10:49:01Z")

</div>

Dear Saskia,  
Sorry about the long delay - I was focusing on other aspects of my data analysis in between. Thank you for the link to the code - it pointed me towards some useful functions, but I think it’s not quite what I need. I’m struggling with the following issues:

- I’m analyzing the Neuropixels dataset, which doesn’t have sparse noise, as far as I’m aware, but uses Gabor patches to map RFs. So far, I couldn’t find any function to map the Gabor patch positions to the screen - especially since they are given in degrees visual angle in the warped coordinate system (as per this answer: [Gabor patch data - units](https://community.brain-map.org/t/gabor-patch-data-units/938)).
- The Gabor patch positions go from -40:40 in azimuth and elevations, but the estimated RF azimuths go from 10:90, and the elevations from -30:50. Could you clarify for me how those two relate to each other?

---

_[View the full topic](https://community.brain-map.org/t/transformation-of-degrees-of-visual-angle-to-pixels/1623)._
