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

Some times get Imaginary component #40

Open
AmberCheng opened this issue Jan 5, 2021 · 3 comments
Open

Some times get Imaginary component #40

AmberCheng opened this issue Jan 5, 2021 · 3 comments

Comments

@AmberCheng
Copy link

Hi, thanks for your wonderful work. I have met a value error recently. However, sometimes it happens, but if I rerun the code, it disappears. I wonder how can I solve it? But I am not sure why it happens.

@mhex
Copy link
Collaborator

mhex commented Jan 5, 2021

If it's related to calculate the FID this can happen if you use less than 2048 samples, better use 5000 or more.

@AmberCheng
Copy link
Author

If it's related to calculate the FID this can happen if you use less than 2048 samples, better use 5000 or more.

@mhex emm, I have set the number more than 2048, I will try a number more than 5000

@AmberCheng
Copy link
Author

If it's related to calculate the FID this can happen if you use less than 2048 samples, better use 5000 or more.

@mhex I have tried more than 5000 images to get the fid. I got the error that "ValueError: Imaginary component 815360134.861496", also I have printed the max and min of the covmean, they are (819473682044121.4-175735031.80444336j)(-519572693219721.6-221167776.40625j).

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

2 participants