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

DM-14157: hips/fits/aitoff switching #605

Merged
merged 5 commits into from May 4, 2018
Merged

DM-14157: hips/fits/aitoff switching #605

merged 5 commits into from May 4, 2018

Conversation

robyww
Copy link
Contributor

@robyww robyww commented May 3, 2018

  • buttons to move between hips/fits/aitoff
  • zoom switching now includes allsky in algorithm
  • auto check box to switch on zoom
  • zoom level switch to field of view
  • fixed: FOV when image zoomed level is really small
  • fixed: order of buttons
  • fixed: context toolbar going away when in different context modes
  • ButtonGroup option for RadioGroupInputFieldView

to test:

  • do catalog search, then switch between hips and fits
  • try the auto button and zoom
  • do a catalog search with m4, then m1
  • switch between hips, fits, aitoff
  • try auto button and zoom
  • try tooltip over field of view for both hips and fits
  • notice that there is only field of view, not zoom level

@robyww robyww requested review from ejoliet and cwang2016 May 3, 2018 23:41
  - buttons to move between hips/fits/aitoff
  - zoom switching now includes allsky in algorithm
  - auto check box to switch on zoom
  - zoom level switch to field of view
  - fixed: FOV when image zoomed level is really small
  - fixed: order of buttons
  - fixed: context toolbar going away when in different context modes
  - ButtonGroup option for RadioGroupInputFieldView
Copy link
Contributor

@ejoliet ejoliet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested the fixes you mentioned. I would pass the baton to Vandana or Gregory because they know the expectation from the transition feature better than me.
In that regard, i think there is probably a tweak on the fall over fov angle and other option but that's up to the scientist.
From UI point of view i don't see any other improvement to be made. The button group looks nice!

I have a comment but i'm not sure what was discussed in the past: when i'm on any of those image option Aitoff or hips or fits with a particular zoom/orientation and click 'auto' or just switch the image is back to initial zoom/orientation, seems that the image is reset every time i switch, i was surprise not to see it keeping the same orientation and zoom level. Is that a bug or is on purpose? Might want to wait for feedback on those details.

Other than that, looks good!

@cwang2016
Copy link
Contributor

@trey Here are two cases I observed, needing your verification.
case 1,
do catalog search on m31
then switch the selection between HiPS and Fits, the FOV number is changed every time switching to HiPS, and FOV on FITS follows the change accordingly.

question: FOV on HiPS is changed every time when it is re-selected after FITS?

case 2,
do catalog search on m31, got HiPS image, FOV 13 arcmin
next do catalog search on m4, got HiPS image, FOV 171 deg
next do catalog search on m1, radius 100 arcsec, got aitoff
switch to HiPS, got FOV 171 deg
switch to FITS, got FOV 14 arcmin, then HiPS, got FOV 19 arcmin
switch to aitoff, then HiPS, got FOV 171 deg.

question: FOV on HiPS is different depending on if it is selected after Aitoff or FITS?

@trey
Copy link

trey commented May 4, 2018

@cwang2016 I think you have the wrong Trey. :)

@cwang2016
Copy link
Contributor

Review completed. ButtonGroup works well. Just having the concern regarding FOV values as switching among HiPS/FITS/Aitoff.

@cwang2016
Copy link
Contributor

@trey I push a fix to show the hips list popup with the highlighted row in sync with the hips image after catalog search.

@trey
Copy link

trey commented May 4, 2018

Still the wrong @trey. Please notify the correct Trey. I beg you.

@cwang2016
Copy link
Contributor

@robyww
case 1,
do catalog search on m31
then switch the selection between HiPS and Fits, the FOV number is changed every time switching to HiPS, and FOV on FITS follows the change accordingly.

question: FOV on HiPS is changed every time when it is re-selected after FITS?

case 2,
do catalog search on m31, got HiPS image, FOV 13 arcmin
next do catalog search on m4, got HiPS image, FOV 171 deg
next do catalog search on m1, radius 100 arcsec, got aitoff
switch to HiPS, got FOV 171 deg
switch to FITS, got FOV 14 arcmin, then HiPS, got FOV 19 arcmin
switch to aitoff, then HiPS, got FOV 171 deg.

question: FOV on HiPS is different depending on if it is selected after Aitoff or FITS?

@cwang2016
Copy link
Contributor

@robyww
I push a fix to show the hips list popup with the highlighted row in sync with the hips image after catalog search.

@robyww
Copy link
Contributor Author

robyww commented May 4, 2018

Thanks for the commit @cwang2016

@robyww
Copy link
Contributor Author

robyww commented May 4, 2018

@cwang2016 thanks for the testing:

case1: fixed
case2:

  • This is fixed as it is similar to case 1.
  • I made switching to aitoff to always go to the full image. Aitoff is very hard to match up.
  • When switching from aitoff to fits it get the maximum size FITS image of the center point on the screen.
  • When switching to HiPS it is similar, maximum size centered on the Aitoff center point.

So 'from Aitoff' always tries to line up the point, 'to Aitoff' always just shows the Aitoff full screen. I hope this is good enough for the users.

@ejoliet I think this fixes your issues as well.

@robyww robyww merged commit cebf0d1 into rc May 4, 2018
@robyww robyww deleted the dm-14157-switch branch May 4, 2018 22:40
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

Successfully merging this pull request may close these issues.

None yet

4 participants