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 floating point precision issue #22

Open
ajithabhks opened this issue Jan 31, 2025 · 0 comments
Open

Fix floating point precision issue #22

ajithabhks opened this issue Jan 31, 2025 · 0 comments

Comments

@ajithabhks
Copy link
Owner

Noticed that the auto powers having some very small imaginary values (order of 10^-12) in band averaging. It seems to be some rounding error due to numpy vectorization.

Possible solution would be manually make imaginary parts as zero using script (example):

self.bandavg_ds['exex'] = self.bandavg_ds['exex'].real + 0j

This is not a critical issue.

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