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

Fix incorrect Bode plots #110

Merged
merged 4 commits into from
Apr 15, 2024
Merged

Fix incorrect Bode plots #110

merged 4 commits into from
Apr 15, 2024

Conversation

SaraQiuyuShi
Copy link
Collaborator

@SaraQiuyuShi SaraQiuyuShi commented Apr 12, 2024

Fixes #109

Change the bode plot from Re(Z) and Im(Z) vs. frequency to |Z| and phase(Z) vs. frequency!

bode
Copy link
Collaborator

@ma-sadeghi ma-sadeghi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! You might want to consider using np.abs for getting the magnitude

@SaraQiuyuShi
Copy link
Collaborator Author

changed the np.abs for getting the magnitude and np.angle for phase calculations

@ma-sadeghi ma-sadeghi changed the title Bode plots plotting method changes Fix incorrect Bode plots Apr 15, 2024
@ma-sadeghi ma-sadeghi merged commit 3d007e0 into AUTODIAL:main Apr 15, 2024
6 checks passed
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.

Our Bode plots are not actually Bode plots!
2 participants