Skip to content

Remove amplitude columns and use LoadAllSpikes() with trigger-aligned timestamps - #20

Merged
ar-jan merged 2 commits into
developfrom
feature/LoadAllSpikes
Aug 19, 2026
Merged

Remove amplitude columns and use LoadAllSpikes() with trigger-aligned timestamps#20
ar-jan merged 2 commits into
developfrom
feature/LoadAllSpikes

Conversation

@ar-jan

@ar-jan ar-jan commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

This removes waveform loading, electrode-grid loops, and amplitude calculations. LoadAllSpikes() provides trigger-aligned timestamps instead of waveform start start time. Maps unique hardware channels through ChannelArray. The export is no longer sorted, but preserves LoadAllSpikes() order. (order does not matter for creating the raster plots).

Fixes #16.

ar-jan added 2 commits August 19, 2026 14:29
This removes waveform loading, electrode-grid loops, and amplitude calculations.
LoadAllSpikes() provides trigger-aligned timestamps instead of waveform start start time.
Maps unique hardware channels through ChannelArray.
The export is no longer sorted, but preserves LoadAllSpikes() order.
(order does not matter for creating the raster plots).

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates MATLAB spike extraction to use trigger-aligned timestamps and simplifies CSV output.

Changes:

  • Uses LoadAllSpikes() and maps hardware channels through ChannelArray.
  • Removes waveform amplitude columns.
  • Naturally sorts well labels in the raster plot UI.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
rasterplot.py Sorts well labels by row and numeric column.
extract_spk_with_axisfile_matlab.m Exports trigger-aligned spike timestamps and channel mappings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ar-jan
ar-jan marked this pull request as ready for review August 19, 2026 13:38
@ar-jan
ar-jan merged commit 76b5e2b into develop Aug 19, 2026
1 check passed
@ar-jan
ar-jan deleted the feature/LoadAllSpikes branch August 19, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spike time vs waveform start time

2 participants