Skip to content

Add the ability to calculate power spectra directly from binned spike train objects #668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

mdenker
Copy link
Member

@mdenker mdenker commented Jun 17, 2025

Currently, one has to transform a binned spike train to an analog signal in order to calculate the power spectral density of the spike train. This enhancement adds the ability to pass BinnedSpikeTrain objects to the power spectral methods directly. The correct normalization is applied such that the tail of power spectra is related to the average spike rate.

@mdenker mdenker added this to the v1.2.0 milestone Jun 17, 2025
@mdenker mdenker added the enhancement Editing an existing module, improving something label Jun 17, 2025
@mdenker mdenker marked this pull request as draft June 17, 2025 10:35
@mdenker mdenker self-assigned this Jun 17, 2025
@coveralls
Copy link
Collaborator

coveralls commented Jun 17, 2025

Coverage Status

coverage: 88.131% (-0.2%) from 88.303%
when pulling a8bb859 on INM-6:feature/spike-psd
into febc7ce on NeuralEnsemble:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Editing an existing module, improving something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants