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

First ports to python 3 #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

michi7x7
Copy link

Back in January I started using python-deltasigma with Python 3. I will probably continue to use it, but I don't have the ressources and time to test everyhing.

This is by no means a complete Pull-Request, it is just the bare minimum of changes to make some of the examples work in Python 3.

What needs to be done:

  • Integer division must use // instead of /
  • Consequently, all files must include from __future__ import division for backward-compatibility
  • Data-Types are much more strict. This results in quite some int(ceil(x)) or whatever
  • There have been some changes to scipy.signal, conversation between TF, ZPK and LTI must be done explicitly.
  • I remember having some problems with matplotlib code

@ghost ghost mentioned this pull request Oct 1, 2020
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