AllenInstitute / npc_sessions

Tools for accessing and packaging data from behavior and epyhys sessions from the Mindscope Neuropixels team, in the cloud.
1 stars 1 forks source link

@arjunsridhar12345 rm settings xml, use spike_interface_data.electrode_locations_xy #39

Closed bjhardcastle closed 9 months ago

bjhardcastle commented 11 months ago

https://github.com/AllenInstitute/npc_sessions/blob/3d7341507a45915dbae82d96b233d49ed050f35d/src/npc_sessions/utils/units.py#L193

bjhardcastle commented 11 months ago

@arjunsridhar12345 Did you figure out why SpikeInterface gives x-positions different from settings.xml?

arjunsridhar12345 commented 11 months ago

@bjhardcastle yeah, it's subtracting by the min x-position (11). Talked to Ethan and he said it should be fine

bjhardcastle commented 11 months ago

ok, then the rel_x rel_y columns in our nwb.electrodes table are relative to channel 1 on the probe (1-indexed)