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

Numpy version specific Float -> Interger typecast error #3

Open
debapratimsaha opened this issue Jul 20, 2017 · 3 comments
Open

Numpy version specific Float -> Interger typecast error #3

debapratimsaha opened this issue Jul 20, 2017 · 3 comments

Comments

@debapratimsaha
Copy link

debapratimsaha commented Jul 20, 2017

With Numpy v1.12.1, I get float object cannot be interpreted as interger type error for np.ones() function calls in Pypsy -> signal -> analysis.py (line 193). There may be other such calls as well, I hit this one.

With Numpy v1.11.1, there was a VisibleDeprecationWarning with this.

@sri9s
Copy link

sri9s commented Apr 16, 2018

I happen to get the same error, could you resolve it?

@davidmelhart
Copy link

This issue is still present. Tried to resolve it with casting the winwidth2 variable in the bateman_gauss function as an integer. This resolves the issue of the error but my results are slightly off from what is shown in the tutorial.

@brennon
Copy link
Owner

brennon commented Jun 19, 2020

I really wish I had time to address this...it's long overdue. My life just hasn't let me have the time to do so, though. It's on my list, but if someone wants to send over a PR, I'll gladly accept it.

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

No branches or pull requests

4 participants