SpikeInterface / SpikeInterface/spikeinterface

Manually setting SpikeGLX recording sampling frequency

Open
#4,248 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core
Dominant language
Python
Stars
847
Forks
280
Avg merge
3d 9h
Merged PRs (30d)
29

Description

I'd like to manually set the sampling frequency of a Neuropixels recording loaded via read_spikeglx. The reason is that my analysis requires precise synchronization of traces, and environmental fluctuations (e.g. temperature) can create slight discrepancies from the calibrated sampling frequency on an experiment-by-experiment basis. Using the sync channel, I can compute an empirical sampling frequency for each experiment, and I would like to use these values. Is there a way to do this? If not, can the simple feature of manually setting recording properties be introduced? My current workaround is directly editing the .meta file. Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the read_spikeglx entry point and inspect how the recording sampling frequency is obtained from the .meta file. Check how recording properties are exposed or overridden, then verify that an empirically supplied frequency can be used for synchronization without editing the metadata file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.