Skip to content

Commit 96217dd

Browse files
committed
add axial and lateral keys to channels
1 parent 9996b27 commit 96217dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

brainbox/io/one.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ def _load_channel_locations_traj(eid, probe=None, one=None, revision=None, align
331331

332332
channels[probe] = _channels_traj2bunch(chans, brain_atlas)
333333

334+
channels[probe]['axial_um'] = chn_coords[:, 1]
335+
channels[probe]['lateral_um'] = chn_coords[:, 0]
336+
334337
else:
335338
_logger.warning(f'Histology tracing for {probe} does not exist. '
336339
f'No channels for {probe}')

0 commit comments

Comments
 (0)