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

Add PA correction for NIRISS #139

Merged
merged 15 commits into from
Aug 4, 2022
Merged

Add PA correction for NIRISS #139

merged 15 commits into from
Aug 4, 2022

Conversation

vandalt
Copy link
Contributor

@vandalt vandalt commented Jul 21, 2022

I modified the function used for SPHERE to implement options for different instruments and added a function to compute it for NIRISS. This depends on #136, so marking as Draft for now.

@vandalt vandalt marked this pull request as ready for review July 28, 2022 03:16
@vandalt
Copy link
Contributor Author

vandalt commented Jul 28, 2022

I added tests for SPHERE and AMI PA calculations. I think this is ready for review @DrSoulain.

@neutrinoceros
Copy link
Collaborator

Had a quick look and I would also like to review this from a technical angle. Please ping me if I forget !

amical/tools.py Outdated Show resolved Hide resolved
amical/tests/test_tools.py Outdated Show resolved Hide resolved
amical/tests/test_tools.py Outdated Show resolved Hide resolved
amical/mf_pipeline/bispect.py Outdated Show resolved Hide resolved
amical/oifits.py Show resolved Hide resolved
amical/tests/test_tools.py Outdated Show resolved Hide resolved
amical/tests/test_tools.py Outdated Show resolved Hide resolved
amical/tests/test_cli.py Show resolved Hide resolved
amical/tests/test_io.py Show resolved Hide resolved
@vandalt
Copy link
Contributor Author

vandalt commented Jul 28, 2022

This depends on #136. Not sure if the code itself depends on it but apparently I branched out from by #136 branch to add the changes in this PR.

@neutrinoceros
Copy link
Collaborator

I'll probably just approve this next time, but I'd like to see #136 merged first

@DrSoulain
Copy link
Collaborator

I'll probably just approve this next time, but I'd like to see #136 merged first

#136 is now merged.

Copy link
Collaborator

@DrSoulain DrSoulain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vandalt for the implementation of the PA computation for NIRISS. The PA (orientation of the mask compared to the north-up, east-left) is now automaticaly saved with AMICAL.

@DrSoulain DrSoulain merged commit b8894a8 into SAIL-Labs:master Aug 4, 2022
@vandalt vandalt deleted the niriss-pa branch August 4, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants