tjlane / pypad

Intuitive, high-level interface to the CSPAD
Other
2 stars 1 forks source link

add colorscale to prepgeom #28

Closed sellberg closed 10 years ago

sellberg commented 11 years ago

could be nice when the rings are weak, as for AgBe

screen shot 2013-07-03 at 12 39 57

sellberg commented 11 years ago

@tjlane tried to add this thinking it was easy, but it got really messy first with the fact that imshow is called every time an image is updated, which I think I got under control, but then also because the colorbar is not part of self.axL and yet event.inaxes is true, which is the same as for all the sliders, so anytime I click on a slider it also updates the color scale.... then I realized it also has to change when the filter button is called, so I kinda gave up.. :-P maybe you can show me a bit of your GUI voodoo magic next time we meet so I understand how those things work? thanks!

tjlane commented 11 years ago

@sellberg haha yeah. MPL's GUI stuff is pretty terrible, actually -- so no worries. This is probably low priority anyways, so let's not worry too much about it.

Maybe next Wednesday I'll come back up and we can take a crack at it.

tjlane commented 11 years ago

@sellberg I added a way to change the intensity scale by scolling the mouse wheel -- check it out. It would also be good to have a color bar, but it takes a little more wrangling :).

tjlane commented 10 years ago

again this can be done in an updated GUI if necessary