Closed tikk3r closed 6 months ago
I think there are more issues, also plotting the data. Just an example from the amplitudes where top-bottom are reversed. Phases also seem to suffer from the same issue (and maybe the weights also, diffs, etc. did not check these). I'm not sure which is the correct one (top or bottom).
Hmm, can I grab this h5parm from somewhere? I can't reproduce the inverted amplitudes with one I have lying around.
/net/rijn1/data1/rvweeren/Perseus_LBA/merged_selfcalcyle010_TC00.MS.avg.subtracted.copy.avg.h5
(this is another example, but it shows the same problem)
Ahh sorry for the confusion, the amplitude problem was fixed (together with the weights fix) as reported in https://github.com/tikk3r/lofar-h5plot/issues/30. I spotted the amplitude before trying the issue-30 fix. Turns out that both weights and amplitude plottings issue are adressed in branch issue-30
Conclusion: I can confirm your fix works and I think you can merge with master.
Plotting the weights for all stations did not transpose the data correctly, as reported in #30. This fixes that issue.