Skip to content

Add Xclust (.CEL) spike sorting interface #1675

@bendichter

Description

@bendichter

Summary

Add support for reading Xclust .CEL spike-sorted files as a sorting interface.

Xclust is a legacy spike sorting tool from the McNaughton lab (University of Arizona). It outputs ASCII .CEL files containing spike times, cluster assignments, and optionally position data, with a structured header. This format was used for the Neurolab Space Shuttle hippocampal recordings (Knierim, McNaughton & Poe, 2000) and likely other datasets from that era.

File format

  • ASCII text with a %%ENDHEADER delimited header section
  • Header contains key-value metadata (e.g., Cluster, Start time, End time)
  • A Fields: line declares the column names (e.g., time, pos_x, pos_y, head_dir)
  • Data rows are whitespace-separated, with spike times in seconds

Reference implementation

A working parser is available here:
https://github.com/catalystneuro/mcnaughton2000-to-nwb/blob/main/src/mcnaughton2000_to_nwb/cel_file.py

Related

Metadata

Metadata

Assignees

No one assigned

    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