<< All versions
Skill v1.0.0
currentAutomated scan100/100int-brain-lab/ibl-ai-agent/ibl-anatomy
──Details
PublishedNovember 4, 2026 at 03:48 PM
Content Hashsha256:cb71b9a55dc385ff...
Git SHAa36e2dcb151c
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 34 lines · 1.8 KB
name: ibl-anatomy description: Use this skill to navigate the IBL anatomical atlas — region lookup by name/id/coordinate, hierarchy traversal, mapping between Allen/Beryl/Cosmos/Swanson, and brain-map visualisation. metadata: version: "1.0.0"
IBL Anatomy
Use this skill when
- Converting between region acronyms, IDs, and atlas mappings.
- Looking up which region contains a CCF coordinate.
- Traversing the region hierarchy (ancestors, descendants, leaves).
- Visualising per-region scalars or point clouds on slices, flatmaps, or Swanson projections.
Do not use this skill when
- The task is spike-sorting QC or cluster-to-region assignment — use
ibl-load/references/brain_regions_qc.md. - The task is raw Neuropixels preprocessing — use
ibl-neuropixel.
References
references/atlas_navigation.md: verified API patterns forBrainRegions,AllenAtlas, andiblatlas.plots.
Workflow
- Use
BrainRegionsalone when no coordinate lookup is needed — no file I/O. - Instantiate
AllenAtlas(res_um=25)only when CCF volume, slicing, orget_labelsis required. - Declare one mapping per metric before any groupby:
Allen,Beryl,Cosmos, orSwanson(+-lrvariants for hemisphere-sensitive analyses). - For hemisphere-aware plots, use
prepare_lr_dataand a-lrmapping; note that-lrencodes left as negative ID. - Use
iblatlas.plotshelpers before writing custom matplotlib; preferplot_points_on_slicefor coordinate clouds andplot_swanson_vectorfor Swanson projections.
Quality gates
- Never mix IDs or acronyms from different mappings in one aggregation.
- State the mapping used in every region-level output and figure caption.
- All coordinates passed to iblatlas must be in metres, bregma-relative, axis order (ML, AP, DV).