Relationship between injection coordinates in data portal and sdk


The injection coordinate in the data portal (e.g.: is in mm and relative to Bregma while the data downloaded using allensdk.core.mouse_connectivity_cache.MouseConnectivityCache.get_structure_unionizes are using a different coordinate system. How do I convert bregma coordinates to the sdk system? What is the bregma coordinate in the reference atlas?


I just realized I can get the coordinates of the injection looking at the annotation where the field “is_injection” is equal 1. Should have thought about it!

Hi @robertooooo,

Thanks for posting, and glad you found the solution. You also might be interested in reading a previous post about Bregma:

1 Like