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

LaTeX printout of transfer function ignores imaginary part without warning #719

Open
bnavigator opened this issue Apr 5, 2022 · 0 comments

Comments

@bnavigator
Copy link
Contributor

bnavigator commented Apr 5, 2022

Discovered in #718 (reply in thread)

In [13]: H_goertzel = (1-np.exp(-2j*pi*k/N)*z**-1)/(1 -2*np.cos(2*pi*k/N)*z**-1+z**-2)

In [14]: H_goertzel
Out[14]: 

image

In [15]: H_goertzel.num
Out[15]: 
[[array([ 1.        +0.j        , -0.30901699+0.95105652j,
          0.        +0.j        ,  0.        +0.j        ,
          0.        +0.j        ])]]
In [16]: H_goertzel.den
Out[16]: [[array([ 1.        , -0.61803399,  1.        ,  0.        ,  0.        ])]]
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

1 participant