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

Add NaN detection and warning to Spectrum Viewer #2185

Open
MikeSullivan7 opened this issue Apr 30, 2024 · 0 comments · May be fixed by #2186
Open

Add NaN detection and warning to Spectrum Viewer #2185

MikeSullivan7 opened this issue Apr 30, 2024 · 0 comments · May be fixed by #2186
Assignees

Comments

@MikeSullivan7
Copy link
Collaborator

MikeSullivan7 commented Apr 30, 2024

Summary

For the Spectrum Viewer, if NaNs exist in the data, there are gaps in the Spectrum Plot but no obvious explanation as to why. There needs to be a form of warning to the user that there are NaNs in the current slice or in the data stack itself, as there is for the main window and the Operations window.

Steps To Reproduce

  1. Load Spectrum Viewer with data which has NaNs, e.g. the Fe dataset

Expected Behaviour

Show a warning if there is a NaN in the current slice or give a list of slice indices with NaNs. If possible, when the warning Icon is hovered over, highlight the position of the NaNs in the slice.

Current Behaviour

No NaN detection and non complete plot of the Spectrum .

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Review
Development

Successfully merging a pull request may close this issue.

1 participant