Hi @SivanSchwartz,
Have you checked out the related thread from GTMeijer?
How to transform CCF (x, y, z) coordinates into stereotactic coordinates - Technical - Allen Brain Map Community Forum (brain-map.org)