Skip to content

Commit 77539ac

Browse files
authored
Merge pull request #10 from int-brain-lab/neuropixel-routing-axial-convention
Add axial_um channel coordinate convention to neuropixel routing reference
2 parents ac1f954 + 027194e commit 77539ac

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

skills/ibl-neuropixel/references/neuropixel_routing.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,19 @@ Prefer:
7878
- `spikeglx.Reader` slicing
7979
- `brainbox.io.spikeglx.extract_waveforms` when the task is waveform-centric rather than file-centric
8080

81+
## Channel coordinate convention (`axial_um`)
82+
83+
`axial_um` is the distance in µm from the **tip** of the probe shank — the SpikeGLX convention.
84+
85+
| `axial_um` value | meaning |
86+
|-----------------|---------|
87+
| small (≈ 0) | closest to tip → **deepest** in the brain (lower region) |
88+
| large (≈ 3840 for NP1) | far from tip → **most superficial** (upper region) |
89+
90+
Consequence for depth-ordered operations: sorting ascending by `axial_um` and stepping with `shift(-1)` moves from **deeper → shallower** (lower → upper). Label axes accordingly:
91+
- rows / `from` (smaller `axial_um`) → **lower region**
92+
- columns / `to` (larger `axial_um`) → **upper region**
93+
8194
## Decision rule
8295
- If the user starts from raw files, use `ibl-neuropixel`.
8396
- If the user starts from loaded spikes/clusters/trials, skip this skill and use `ibl-load` plus `ibl-analyze`.

0 commit comments

Comments
 (0)