Converting allen CCF into an annotated structure

I have a dataset with electrodes which have been aligned to the Allen CCF, how can I take the 3d coordinates and get an annotated structure out of it? Python or R answers please.