Silx and BLISS 1st meeting
- Plotting tool:
- an external program that listens to BLISS sessions
- BLISS that emits events to do actions
- the plot tool is started from BLISS command line
- there is a function in BLISS library that makes a subprocess to start the tool
- "communication" shell -> GUI to be based on a standard protocol (zerorpc ?)
- to send scan data node object for current scan: plot tool will need to import
bliss.data
- to ask for point selection, or other requests for user with the interactive plotting tool; example from matlab:
ginput(nb_points_to_be_selected)
- scans display
-
plotselect
: function to specify which counters to display
- the HDF5 file should define one
NXData
per plot, to have a default selection for users when opening data file
- sending a plot
- tell plotting tool to display numpy array, sent via RPC protocol
-
plot
function
- from a scan object, retrieve corresponding 'plot' proxy/placeholder
- commands can be sent through an API (via RPC protocol)
- if no scan object is provided, a default plot is created
- scatter plot (for meshes)
Edited by Matias Guijarro