Closed Vindaar closed 9 months ago
We have multiple plotting tools available now. The most generic one being plotData
:
https://github.com/Vindaar/TimepixAnalysis/blob/master/Plotting/karaPlot/plotData.nim
And generally the other tools in:
https://github.com/Vindaar/TimepixAnalysis/tree/master/Plotting
(some are older and less useful than others, heh).
We should write a Nim plotting tool, which performs similar tasks to
PyS_plotH5Data.py
. Would allow for easier interfacing, since we could then just call the plotting tool in the rest of the analysis code.This should be done in such a way as to abstract away the backend, i.e. allowing us to either use
matplotlib
vianimpy
and (possibly) the Pythoningrid
module orplotly
straight via Python. Matplotlib has an advantage in pure batch processing of many files, since we do not have to show plots we wish to save.