silx
silx copied to clipboard
Silx view: plots without NXdata
The request came in from two different users who would find it useful to allow plotting signals with respect to each other dynamically (i.e. not as an NXdata).
We could imagine an interface that allows selecting a plot style (curve, image), allows selecting signals (e.g. /*.1/measurement/*, perhaps better with the mouse) and then allows selecting the signals to be plotted (e.g. for a curve plot X=energy, Y=mu). So essentially a simpler form of what pymca or flint does for generic plotting.
Even simpler than PyMca that already populates the selection table and that allows to sort the scans by command for mouse selection?
If there is man-power to waste, why not?
I would make sure that those two different users really know what is already available (and not only at the ESRF).
Even simpler than PyMca
With simpler I meant less features.
I think there is already a possibility to improve the NXdata display.
For example, beamlines which setup properly there scans should/could have a convenient NXdata plot to show all there monitored temperature all at once. But right now i dont think it is possible.
For example, beamlines which setup properly there scans should/could have a convenient
NXdataplot to show all there monitored temperature all at once. But right now i dont think it is possible.
It is certainly possible (and without touching the way data are saved because the user can define a selection table with user specified counters that can be saved once for all).
If the user does not want to use PyMca it is another history.
Next step will be to add plugins, then to be able to plot a single row or column of a multidimensional dataset against another one and so on. Once that will be done, the user(s) will ask for something simpler and the loop starts again :)
an interface that allows selecting a plot style (curve, image), allows selecting signals
There is already a "custom NXData" editor dock widget where you can create your own NXData by drag&drop hdf5 dataset into there... but since it is based on NXData signal/axes abstraction it is not simple... I also though as you propose of having a similar feature but dedicated for curves and scatter: a dock widget where to drag&drop what you want as X and Ys (and values for scatter) from the hdf5 content browser and plotting it That would be similar to implement to the "custom NXData" and I expect simpler to use.
have a convenient NXdata plot to show all there monitored temperature all at once. But right now i dont think it is possible.
I don't think so either, you can have multiple curves with auxiliary_signals but there is no options to display them all at once.
Once that will be done, the user(s) will ask for something simpler
Yes, that's always the same I guess.