genghisken / ps1

Pan-STARRS and ATLAS code
3 stars 0 forks source link

Display lightcurves and scatter plots (etc) on quickview pages #106

Closed genghisken closed 4 years ago

genghisken commented 6 years ago

Reorganise the quickview pages to facilitate display of lightcurves and scatter plots, etc. This will give the user a better idea of whether or not a transient is real.

Internally I'll need to reorganise how the lightcurves are extracted. They plot on the fly fairly quickly, but ~ 100 of these at once will be very slow. Internally it would be good to cache the scatter plots + lightcurves. This would allow facilitate instant rendering. Since the post ingest cutting code + stamp code has to pull out the lightcurves anyway, this would be good time to cache the data.

genghisken commented 4 years ago

Implemented under the "new quickview pages". Note that it only works with mobile devices if we limit the number of objects (e.g. nobjects=5) otherwise the code is just too memory hungry. Additionally I need to find a way of limiting the redraw attempts of the lightcurves & scatter plots when the page is resized. (It currently tries to redraw for every pixel change of size which is too intensive. Introducing a small (e.g. 1 second) delay would fix that.