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

Proof of Concept: override_aberrations function for WFIRST (Roman) #382

Closed
wants to merge 4 commits into from

Conversation

robelgeda
Copy link
Contributor

@robelgeda robelgeda commented Sep 14, 2020

There was an urgent request to make overriding the WFIRST/Roman detector aberrations data possible. This was initially planned to be a part of the WFIRST/Roman prism and grsim implementation. The current plan is to make this functionality available via @robelgeda's override_detector branch until the WFIRST/Roman prism and grsim implementation is complete. This PR gives an overview of what is being provided in that branch which is a temporary means to satisfy the feature request. This PR may be closed when the initial prism and grism PR is opened.

This branch will be closed once the prism and grsim PR is opened.

@mperrin
Copy link
Collaborator

mperrin commented Sep 14, 2020

Suggestion - let's rename this to override_aberrations rather than override_detector. I think that will make it significantly clearer what is being overridden.

@robelgeda robelgeda changed the title Proof of Concept: override_detector function for WFIRST (Roman) Proof of Concept: override_aberrations function for WFIRST (Roman) Sep 14, 2020
@robelgeda
Copy link
Contributor Author

robelgeda commented Sep 14, 2020

Sounds good to me, I have updated the code and PR to reflect this. Only thing I left is the branch name. Thank you for the fast reveiw!

@codecov
Copy link

codecov bot commented Sep 14, 2020

Codecov Report

Merging #382 into develop will decrease coverage by 0.00%.
The diff coverage is 42.85%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #382      +/-   ##
===========================================
- Coverage    47.36%   47.35%   -0.01%     
===========================================
  Files           13       13              
  Lines         5559     5566       +7     
===========================================
+ Hits          2633     2636       +3     
- Misses        2926     2930       +4     
Impacted Files Coverage Δ
webbpsf/wfirst.py 89.03% <42.85%> (-0.74%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96537c4...a6cd987. Read the comment docs.

@mperrin
Copy link
Collaborator

mperrin commented Sep 14, 2020

@robelgeda you wrote above

The current plan is to make this functionality available via @robelgeda's override_detector branch until the WFIRST/Roman prism and grsim implementation is complete.

Do you mean/intend that we'll leave this PR open and not merge to develop, so that people who want this functionality should check out the branch from your repo? Or do you intend that we should merge this functionality into develop, at least as a temporary measure while you work on the prism/grism branch? Either approach seems workable, so I'm just asking to make sure I understand this plan. :-)

@robelgeda
Copy link
Contributor Author

robelgeda commented Sep 14, 2020

I think both ways work. I created this PR so its easy to compare the changes I made in my branch (and keep track of them) but I personally believe it is better for this to stay in a PR until the other PR is opened. This is because this function may change when we implement the prism and grism. That way we can distinguish what is official and what is temporary. It also doesn't help that we don't have tests for this change.

@mperrin
Copy link
Collaborator

mperrin commented Sep 14, 2020

Great, sounds good. Then with that agreed, I'll mark this as a 'draft' PR to indicate that we don't plan or intend to merge it now.

@mperrin mperrin marked this pull request as draft September 14, 2020 19:50
@robelgeda robelgeda mentioned this pull request Mar 1, 2021
@mperrin
Copy link
Collaborator

mperrin commented Mar 29, 2021

@robelgeda Just to confirm, this PR is no longer needed and is superseded by #416, is that correct?

@robelgeda
Copy link
Contributor Author

Yes! We can finally close this

@mperrin mperrin closed this Mar 29, 2021
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.

2 participants