-
Notifications
You must be signed in to change notification settings - Fork 8
Factor orbit, FOV, and observing constraints into new Mission class #40
Conversation
Codecov Report
@@ Coverage Diff @@
## master #40 +/- ##
==========================================
+ Coverage 23.52% 24.73% +1.21%
==========================================
Files 25 26 +1
Lines 1424 1435 +11
==========================================
+ Hits 335 355 +20
+ Misses 1089 1080 -9
Continue to review full report at Codecov.
|
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.
Looks really nice. And I do like the python configurations.
We should also enable turning roll on or off perhaps? For now, I was solving with no roll.
I am not sure if this is the right abstraction, but at least it makes it so that the Dorado observing constraints are not in the one global visibility_constraints list.
This doesn't use the Astropy configuration system. This just introduces a new class. Can you see using this in the UVEX scripts?
For now, since Dorado hasn't decided whether or not to vary roll angles, I am thinking of the roll grid as a command line option. If you pass a roll step size of 90 degrees, that has the same effect as turning off the roll grid. |
Yes. I suppose just slight annoyance if you want to update mission constraints needing to modify repository, but I think it's fine. |
Fair point. I'll whip up an example of what the Astropy configuration system implementation would look like. |
I couldn't get the Astropy configuration system to work. I think it has to do with our module being called |
definitely better than nothing! |
I am not sure if this is the right abstraction, but at least it makes it so that the Dorado observing constraints are not in the one global visibility_constraints list.
@mcoughlin, could you see using this new Mission class?