SkillAgentSearch skills...

SGLXMetaToCoords

Code to create geometry files for sorting from SpikeGLX metadata

Install / Use

/learn @jenniferColonell/SGLXMetaToCoords
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SGLXMetaToCoords

SpikeGLX metadata readers

Code to read SpikeGLX metadata for a given binary, and create a geometry map for spike sorting or other analysis. The output format is set in the code -- see the code comments for details.

This code uses the ~snsGeomMap, present in data taken with SpikeGLX 20230202-phase30 or later. For older data, it reads the ~snsShankMap, and has hardcoded physical dimensions for all Neuropixels probe part numbers. There is an option to create a new metadata file appending the ~snsGeometryMap.

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated27d ago
Forks7

Languages

Python

Security Score

75/100

Audited on Mar 13, 2026

No findings