Skip to content

IBL TODO: Confirm atlas locations #67

@CodyCBakerPhD

Description

@CodyCBakerPhD

In both the electrode table and the units table

It has been noted some inconsistencies in anatomical values

Maybe it's a bug in the code, maybe it was an old issue in the source data

Need to figure out

Ecephys:

self.recording_extractor.set_property(key="ibl_x", values=ibl_coords[:, 0])
self.recording_extractor.set_property(key="ibl_y", values=ibl_coords[:, 1])
self.recording_extractor.set_property(key="ibl_z", values=ibl_coords[:, 2])
self.recording_extractor.set_property( # SpikeInterface refers to this as 'brain_area'
key="brain_area", values=list(channels["acronym"]) # NeuroConv remaps to 'location', a required field
) # Acronyms are symmetric, do not differentiate hemisphere
self.recording_extractor.set_property(
key="beryl_location",
values=list(brain_regions.id2acronym(atlas_id=channels["atlas_id"], mapping="Beryl")),
)
self.recording_extractor.set_property(
key="cosmos_location",
values=list(brain_regions.id2acronym(atlas_id=channels["atlas_id"], mapping="Cosmos")),
)

Units: https://github.com/catalystneuro/IBL-to-nwb/blob/main/ibl_to_nwb/datainterfaces/iblsortingextractor.py#L88-L89

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions