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

Predict using a different geometry #172

Closed
anibalsierram opened this issue Nov 29, 2021 · 1 comment · Fixed by #173
Closed

Predict using a different geometry #172

anibalsierram opened this issue Nov 29, 2021 · 1 comment · Fixed by #173
Labels
bug Something isn't working

Comments

@anibalsierram
Copy link

anibalsierram commented Nov 29, 2021

Hi! I think that there is a small error when trying to predict the visibilities using a different geometry.

Right now the code is:

 if geometry is not None:
        u, v = self._geometry.deproject(u, v)

but I think that the correct one should be:

 if geometry is not None:
        u, v = geometry.deproject(u, v)

Thanks!!

@rbooth200 rbooth200 added the bug Something isn't working label Nov 29, 2021
@rbooth200
Copy link
Collaborator

Hi @anibalsierram

Thanks! I agree this a bug, we will fix it ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants