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

reading diagonal terms only results in scary numpy error in ms_data_handler #368

Open
o-smirnov opened this issue Apr 23, 2020 · 0 comments
Assignees

Comments

@o-smirnov
Copy link
Collaborator

When running a 4-corr MS with diagonal terms only, this line

https://github.com/ratt-ru/CubiCal/blob/master/cubical/data_handler/ms_data_handler.py#L851

crashes out with "Argument 'nparray' has to be a contiguous numpy array." I'm guessing this is because the slicer is selecting correlations 0 and 3 in this regime, and somehow that doesn't play nice with the array shape being relocated. Assigning to @bennahugo, since he added that code (itself a workaround for that godverdamme casacore bug I believe).

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

No branches or pull requests

2 participants