cortex-lab / cortex-lab/phy

Waveforms and Filtering

Open
#1,028 0 comments 0 reactions 1 assignee View on GitHub

@rossant is already working on this.

Since Sep 28, 2020.

area: documentation type: enhancement
Dominant language
Python
Stars
430
Forks
187
Avg merge
2h 31m
Merged PRs (30d)
2

Description

I'm trying to measure features of the waveforms for clusters sorted by kilosort2/phy, and I've noticed that the waveforms returned by model.get_waveforms look different from spikes obtained by windowing the raw data at the spike time.

I can see the subtraction of the window median, in the get_waveforms function, and I can tell that there is some removal of noise that appears across the electrodes, both of which I want. There are also some subtle changes in the mean waveform shape that I can't find the reason for, but look like maybe some kind of filtering. I can also see that phy allows you to show waveforms with and without high pass filtering, but I can't find that option in get_waveforms.

Is there a full list of the processins steps between the raw data and the waveforms shown in phy and those returned by get_waveforms? Is model.get_waveforms the best way to extract all waveforms, with the goal of extracting waveform properties from the average waveform?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.