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

transfer function in Hz #1

Open
egorseliunin opened this issue Oct 13, 2017 · 0 comments
Open

transfer function in Hz #1

egorseliunin opened this issue Oct 13, 2017 · 0 comments

Comments

@egorseliunin
Copy link

in order to get the x axes in Hz you should use:

plt.semilogx(w/ (2 * np.pi), 20 * np.log10(abs(h)))
...
plt.axvline(cutoff_low/ (2 * np.pi), color='green') # low cutoff frequency
plt.axvline(cutoff_high/ (2 * np.pi), color='red') # cutoff frequency

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