askap-vast / vast-pipeline

This repository holds the code of the Radio Transient detection pipeline for the VAST project.
https://vast-survey.org/vast-pipeline/
MIT License
7 stars 3 forks source link

Source detail page load hangs with many measurements #657

Closed marxide closed 2 years ago

marxide commented 2 years ago

The source detail page for sources with many measurements (in this case over 3,000) does not finish loading. The bottleneck is most likely the generation of the measurement cutout images.

For cases like this, having all the cutouts displayed on the same page is unlikely to be useful. I propose we skip generating the cutouts for sources with more than some threshold of measurements, e.g. 30. This should be simple to do and won't take too much time to implement.

A better solution for future work could be to allow the user to specify which measurement they wish to render a cutout for, and then also render cutouts of some surrounding measurements. e.g. the user could identify a measurement of interest from the lightcurve and the cutout for this measurement will be rendered along with the 5 previous and 5 following measurement cutouts. By default, it could render the most significant or brightest measurement and adjacent measurements, or the top 10 most significant.