-
Notifications
You must be signed in to change notification settings - Fork 56
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
synthesizeNTF(order, OSR, opt=2,f0=0.25) #76
Comments
I folked this library and maintain in [Y-F-Acoustics/python-deltasigma] (https://github.com/Y-F-Acoustics/python-deltasigma). This may synthesize NTF. I will try to check it can synthesize. Please paste your code which clarifies order and OSR.
|
Here's the code order = 2 H0 = synthesizeNTF(order,OSR,opt,H_inf,f0) I'm not very good with python but I work on an electronic project and need to simulate the ADC |
Thanks a lot! If you can install and use my folked python-deltasigma, please check it and pull request. |
Thanks a lot, it works. |
Hi again, I'm sorry but I think the same problem exists in some functions also Here's the new code. order = 2 |
In case of Python, np.zeros returns the zeros matrix like MATLAB. G = (np.zeros((order//2, )), H[1], 1) You must be warn that the python returns float automatically like MATLAB. |
Ok, thanks a lot |
Sorry for my poor English. |
I can't synthesize NTF at center freq of 0.25, I get TypeError
TypeError: 'float' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered: