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

DOC: Add examples/graphs to max_len_seq #6182

Merged
merged 1 commit into from
May 24, 2016
Merged

Conversation

endolith
Copy link
Member

No description provided.

@larsoner
Copy link
Member

Travis error, use np.arange instead of arange

@endolith
Copy link
Member Author

oops, fixed and force-pushed


>>> acorrcirc = ifft(spec * np.conj(spec))
>>> plt.figure()
>>> plt.plot(arange(-N/2+1, N/2+1), fftshift(acorrcirc), '.-')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed once

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one (sorry on mobile)

@endolith
Copy link
Member Author

argh fixed


>>> acorrcirc = ifft(spec * np.conj(spec))
>>> plt.figure()
>>> plt.plot(np.arange(-N/2+1, N/2+1), fftshift(acorrcirc), '.-')
Copy link
Member

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?

@larsoner
Copy link
Member

Otherwise LGTM and Travis is finally happy :)

@endolith
Copy link
Member Author

Ok changed that too

@larsoner
Copy link
Member

Thanks @endolith. Using MLS for something fun I hope?

@larsoner larsoner merged commit 9ca2a40 into scipy:master May 24, 2016
@endolith endolith deleted the MLS_docs branch May 25, 2016 01:02
@endolith
Copy link
Member Author

Nah, just learning. :)

@ev-br ev-br added scipy.signal Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org labels Jun 9, 2016
@ev-br ev-br added this to the 0.18.0 milestone Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org scipy.signal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants