Open veggiesaurus opened 4 years ago
Steps to reproduce the issue: 1) load HD163296_CO_2_1.fits 2) append HD163296_13CO_2-1.fits 3) match them spatially and spectrally 4) generate contours using HD163296_13CO_2-1.fits as data source. Switch to channel 26 and use min-max to generate 20 levels 5) switch to single panel view mode 5) set HD163296_CO_2_1.fits active and animate it 6) now observe the features from the raster image and contour image in each channel, HD163296_CO_2_1.fits and HD163296_13CO_2-1.fits have similar emission line spatial features except their emission intensity. The issue is apparently we see contours and corresponding raster got rendered asynchronously. Contour seems to be rendered ahead of raster (even after the 2-ch offset bug is fixed).
Currently, raster and contour data is sent separately, and displayed as soon as its available. When animating, we should only display contour data once: (a) the contour data is complete (b) the animation data has been sent
This can initially be applied just to contours of the same file as the raster data. Once overlays are properly implemented, we can have a separate issue for synchronising display of contours across different files (much tricker...)