Details

Type: Story

Status: Done

Resolution: Done

Fix Version/s: None

Component/s: Firefly

Labels:

Story Points:2

Epic Link:

Sprint:SUIT Sprint 201804

Team:Science User Interface
Description
Do the following:
 Cubes: fixed the bugs related to moving between HiPS cubes and regular hips
 Cubes: display the correct current plane number and the total plane number when switching between HiPS cube
 Cubes: honor the data_cube_* properties and show information about the 3rd dimension
 Use: value = crval3 + (cubeIdx  crpix3 ) * cdelt3
 Make field of view and target optional and then, if they are not specified by the user, default to the HiPS properties hips_initial_ra, hips_initial_dec, and hips_initial_fov. If neither are available show 180 degrees at 0,0.
Attachments
Issue Links
 links to
Confirming that I see all these fixes on irsawebdev5 right now.
For #3, the display of the 3rd coordinate, I make the following suggestion: the floatingpoint format for the display of the number should be chosen so that it displays as many digits to the right of the decimal point as needed to be sure that a change by one plane produces a change in the two leastsignificant digits. Very roughly this means that the resolution for display of a single step is always better than about 10% of the step size.
The precise algorithm could be:
I am assuming that you have an int() function that always rounds down, even for negative numbers. That is different behavior than for the usual floor() function. If you only have floor(), ping me and I'll give you the slightly more complex rule.