Skip to content
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

Update the definition of compute_power_spectral_density to compute the true PSD #398

Merged
merged 10 commits into from
Jan 22, 2025

Conversation

sjvenditto
Copy link
Collaborator

This PR updates the functionality of compute_power_spectral_density to actually compute the periodogram, where previously it was only computing the FFT. Additionally, a new function compute_fft has been added that contains the old functionality of compute_power_spectral_density.

@sjvenditto sjvenditto requested a review from gviejo as a code owner January 21, 2025 20:41
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pynapple/process/spectrum.py 94.44% 0 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ
pynapple/process/__init__.py 100.00% <100.00%> (ø)
pynapple/process/spectrum.py 86.66% <94.44%> (+2.39%) ⬆️

@gviejo gviejo changed the base branch from main to dev January 22, 2025 14:39
@gviejo gviejo merged commit bea46f4 into dev Jan 22, 2025
15 checks passed
@gviejo gviejo deleted the update_psd branch January 22, 2025 14:39
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.

2 participants