TimepixAnalysis icon indicating copy to clipboard operation
TimepixAnalysis copied to clipboard

Build (interactive) karax based frontend for `plotData`

Open Vindaar opened this issue 7 years ago • 1 comments

Just some brainstorming ahead:

By restructuring the plotData script slightly, we should be able to build an interactive data visualization tool for the InGrid analysis.

On the front end side we show a list / buttons (whatever) to show the available plots (for a start). Then select a single or several plots and show a page with the selected plots shown in plotly.

On the backend side we need to either:

  • easiest: create all plots we may show before hand, once they are created, send selected plots to the karax frontend
  • harder: listen via websocket to the karax frontend for selected plots. Then, create the plots, extract the JSON from plotly and send it to the frontend, which will create a div for the plotly plot, call newPlot and insert the received JSON.

Potential further improvements:

  • allow to set cuts etc. on the data from the karax interface and provide more general plotting capabilities beyond the defined plots (aside from freedom in datasets)

Vindaar avatar Oct 30 '18 13:10 Vindaar

Something like Vega (lite) would be perfect for this I imagine...

Vindaar avatar Oct 30 '18 13:10 Vindaar