ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

Graphing: provide a matplotlib backend that plots to a browser #3668

Open Tom-Willemsen opened 5 years ago

Tom-Willemsen commented 5 years ago

As an instrument scientist, I would like the option of a matplotlib backend that plots to a browser in a non-blocking way (rather than plotting into IBEX).

This is an easy extension of the backend that we've already done, which already serves a non-blocking web page.

An example use case for this (from LARMOR) is:

Requested by Adam Washington

ChrisM-S commented 5 years ago

Does this work off the instrument on a remote system with only Genie Python installed? i.e. providing remote DAE plots in GENIE python (granted that IBEX/ICP are running to serve data).

Alternatively, is this equivalent to the remote Open GENIE DAE spectra plot?

Tom-Willemsen commented 5 years ago

Does this work off the instrument on a remote system with only Genie Python installed?

Yes. It is all self-contained. The current version already does this actually - if it can't plot into IBEX then it will fall back to giving you a link to go to in a web browser. This ticket is just to let the user explicitly choose that behaviour, even if IBEX is open.

i.e. providing remote DAE plots in GENIE python (granted that IBEX/ICP are running to serve data).

This is just the plotting layer - getting the data is completely seperate.

Alternatively, is this equivalent to the remote Open GENIE DAE spectra plot?

I'm not sure how open genie worked but this is just a plotting layer, it is not tied to spectra plots in any way.