-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
DOC: Add examples/graphs to max_len_seq #6182
Conversation
Travis error, use np.arange instead of arange |
oops, fixed and force-pushed |
|
||
>>> acorrcirc = ifft(spec * np.conj(spec)) | ||
>>> plt.figure() | ||
>>> plt.plot(arange(-N/2+1, N/2+1), fftshift(acorrcirc), '.-') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed once
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one (sorry on mobile)
argh fixed |
|
||
>>> acorrcirc = ifft(spec * np.conj(spec)) | ||
>>> plt.figure() | ||
>>> plt.plot(np.arange(-N/2+1, N/2+1), fftshift(acorrcirc), '.-') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get:
ComplexWarning: Casting complex values to real discards the imaginary part
Worth casting to real to avoid this?
Otherwise LGTM and Travis is finally happy :) |
Ok changed that too |
Thanks @endolith. Using MLS for something fun I hope? |
Nah, just learning. :) |
No description provided.