-
Notifications
You must be signed in to change notification settings - Fork 1
Tickets/DM-52459: add donut_id #26
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
Conversation
6c14e99 to
7ca3af4
Compare
jbkalmbach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you decide to make this a string instead of an int?
| camera coordinate system (CCS), with the CWFSs rotated to the same | ||
| orientation as the science sensors. It is this object that will be used | ||
| to interface with the wavefront estimator. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove blank line.
| bandpass = donutStamp.bandpass | ||
| self.assertEqual(bandpass, "r") | ||
|
|
||
| donutId = donutStamp.donut_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could remove the blank line above this since it goes with testing the properties.
jbkalmbach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we care that the same donut could have different donut_id values in an extra-intra pair when running in full array mode? Probably not I think but can you think of any reason?
|
I went along with a |
88aa773 to
1ae9565
Compare
jbkalmbach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you need to add a test somewhere that verifies donut_id is output in the format you expect. I don't see a test for that anywhere.
|
added test for donut_id |
e686f63 to
a8deacb
Compare
jbkalmbach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good.
a8deacb to
3919645
Compare
Adding
donut_idbased on detector and donut brightness.