Open kosack opened 5 months ago
Seems the arrows are in the wrong direction on the ground. What do you use to plot them?
I also often though about a general display component that can be run inside the tool.
This could be one tab of it. Others for lower level data.
E.g. instead of ctapipe-display-dl1
we could just use ctapipe-process --display
I also often though about a general display component that can be run inside the tool. This could be one tab of it. Others for lower level data.
yes, this was my original idea as well. WOuld need to use Qt or something for the UI, or perhaps just going for bokeh would be nicer, as that is quite a bit faster.
Seems the arrows are in the wrong direction on the ground. What do you use to plot them?
It's using the set_hillas_vector()
function, which is a bit nicer than the line method added later as it can be updated simply by calling a second time. I may just have the wrong sign for the asymmetry, I didn't check: though it seems a bit random. I also don't really lke how it looks, and will probably modify ArrayDisplay to have the vectors in extend in both directions, with an arrow pointing along the gradient. That way it works even when the assymmetry is incorrect.
This is very much a work in progress, or more of a proof-of-concept that I was using to check some algorithms
Added a simple HillasRecoPlotter Component for debugging or making nice diagrams.
So far it only plots the ellipses.
Todo: