Skip to content

Conversation

@aidanmontare-fed
Copy link
Contributor

removes UserWarning from scipy that says nperseg should not be greater than input length

removes UserWarning from scipy that says nperseg should not be greater than input length
@aidanmontare-fed aidanmontare-fed marked this pull request as draft April 23, 2024 17:49
@aidanmontare-fed
Copy link
Contributor Author

Seems to change the output of magspec plots

@aidanmontare-fed
Copy link
Contributor Author

python3.12/site-packages/scipy/signal/_spectral_py.py:1240: UserWarning: nperseg = 1800 is greater than input length  = 1441, using nperseg = 1441
  freqs, time, Zxx = _spectral_helper(x, x, fs, window, nperseg, noverlap,

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.

1 participant