Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gain plot error during selfcal #42

Open
Ermiasabebe opened this issue Jun 2, 2015 · 3 comments
Open

Gain plot error during selfcal #42

Ermiasabebe opened this issue Jun 2, 2015 · 3 comments
Assignees
Labels

Comments

@Ermiasabebe
Copy link

After meqtee-pipeliner.py succesful, there is a problem in the gain plots. As a result of this, the script will not proceed. The errors in the log are:

gg = numpy.transpose(sols[j],(xaxis,yaxis))

ValueError: axes don't match array

File "/usr/local/meqtrees/Cattery/Pyxides/stefcal.py", line 186, in stefcal

plotfail("plot routine failed, see exception above");

I saw the script stefcal.py but I couldn't comprehend what the problem is related to my script.

Any suggestion, please?

@SpheMakh
Copy link
Contributor

SpheMakh commented Jun 2, 2015

I also get this error sometimes. We need to chase this down

@Sebokolodi
Copy link

If you don't anything to do with those plots for the time being.
Obtain a stefcal script in elwood/home/sebokolodi/pipeline/applied-sourcery/stefcal.py

It has those lines commented out. #hides

Cheers,
Lerato

 On Tuesday, June 2, 2015 4:25 PM, Sphesihle Makhathini <[email protected]> wrote:

I also get this error sometimes. We need to chase this down—
Reply to this email directly or view it on GitHub.

@o-smirnov
Copy link
Contributor

Nothing wrong with a pragmatic solution, but you should report the error as well!

Two problems here, one that the plot failure should have been be reported as a warning and not an outright failure. The warning mechanism itself threw an exception. This has been fixed by ratt-ru/meqtrees-cattery@6ad9285

The other problem is the actual plot failure per se at the dreaded line formerly known as 666. My guess is that there's a null gain solution in there (i.e. one that isn't a matrix) which the code doesn't check for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants