Skip to content

Fix floating point precision issue #22

Description

@ajithabhks

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions