-
Notifications
You must be signed in to change notification settings - Fork 75
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
[BUG] Mosviz: 1D/2D spectrum viewer x-axis links are buggy #802
Comments
rosteen
changed the title
[FEAT] Mosviz: 1D/2D spectrum viewer x-axis links are buggy
[BUG] Mosviz: 1D/2D spectrum viewer x-axis links are buggy
Aug 24, 2021
@astrofrog said something about how the 2D spectrum viewer only needs to find out which pixels correspond to the 1D spectrum viewer wavelength limit and set it accordingly in pixel space. |
I'll note that this is an equal-opportunity bug: I see the same with |
mariobuikhuizen
added a commit
to mariobuikhuizen/jdaviz
that referenced
this issue
Sep 9, 2021
9 tasks
mariobuikhuizen
added a commit
to mariobuikhuizen/jdaviz
that referenced
this issue
Sep 14, 2021
mariobuikhuizen
added a commit
to mariobuikhuizen/jdaviz
that referenced
this issue
Sep 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The Mosviz helper class has methods that update the x-axis of the 1D spectrum viewer when the 2D viewer is updated (via panning or zooming) and vice-versa. This mostly works at the moment, but the warning I put in to tell the user not to pan too far away from the data is getting too easily triggered for some reason, to the point that it sometimes ends up constantly flashing on the screen while using Mosviz. I suspect that it may be due to the axis-syncing triggering too aggressively when a new row is clicked and trying to sync unrelated data. There is also a small chance that this is a cause of the 2D data sometimes not loading/displaying correctly in the 2D spectrum viewer. This issue is to improve the spectral axis syncing code to ensure that the warning does not display when not needed, and to ensure that this isn't interfering with other functionality in the app.
Reproducing the bug should be as simple as running the MosvizNIRISSExample notebook and clicking on a couple rows of data.
A screenshot of the over-eager warning is attached:
Additional context
🐱
The text was updated successfully, but these errors were encountered: