Open gijzelaerr opened 10 years ago
Original comment thread migrated from bugzilla
In preparation for my South Africa visit I've started to play around with some of the MeqTrees example scripts used in previous courses.
If one creates a VLAAA4h.MS and then runs
Waterhole/doc/Timba/Courses/MCCT2009/Intro/demo4-predict-ps.py
as its checked in then nothing appears for the inspector plot for ns.inspect_K (line 70 of the script)
BUT if I comment out 'dims=[0],' in the next line then the expected plot appears along with 27 buttons next to the plot! But only button 0 displays any useful data (which is what I would have expected, as we're just plotting the mean of Jones K for each antenna. I can get rid of the buttons by changing line 170 of Timba/PyApps/src/Plugins/DataDisplayMainWindow_qt4.py to:
if len(dims) == 2 and min(_dims)>=2 and max(_dims)<=6:
instead of the checked in
if len(dims) == 2 and min(_dims)<=2 and max(_dims)<=6:
I don't understand why switching off dims=[0] works, but that's something fed into the Composer node.
A longer term issue is the window management of the inspectors. On my computer the display of inspect_K just about fills the entire screen whereas the visibility display of ns.inspect_predict is just about hidden at the bottom of the screen.
I think the display issue is related to the one I complain about here: https://github.com/ska-sa/meqtrees/issues/874
at 2013-01-03 20:23:27 Tony Willis reported:
Obscure problem with dims and inspectors