Closed danielballan closed 8 years ago
Relevant: https://github.com/mdebbar/jsonsocket
Other than playback, I can only think of one other option as a quick GUI option: -play the average of consecutive sequences of images (in for high framerate/low signal time series): for example for 2: imgnew = (img[0::2,:,:] + img[1::2,:,:])/2. play back imgnew (is there terser notation or would someone have to write a function for this?)
I'm talking bigger picture than that right now. Something along these lines:
@ericdill is solving this properly, but I'm wondering two things:
RE item 1)
I can add more, but this goes beyond what is required to simply align a sample (e.g. single crystal) or compare spectroscopic data or look at an ROI counter evolution during a time scan. I omitted more advanced CCD data requirements because not all beamlines require these things.
RE item 2) I think it depends on how you implement.
Live plots are working reasonably well at the moment - in the same process as the collection environment. Plotting in a separate process will be implemented as part of https://github.com/NSLS-II/bluesky/pull/395
Ultimately this is the job of the replay project. @ericdill is working on a new incarnation that will be faster, more flexible, and better targeted to users' immediate needs.
But in the meantime, what's the "minimal viable product" for a live plotter that lets users set the x and y variables without using the command line?