-
Notifications
You must be signed in to change notification settings - Fork 0
Optimize fid lights for guide stars #410
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
f07bf52
WIP: Optimize fids for guide selection
jeanconn 06e1c97
Move get_t_ccds_bonus into proseco
jeanconn 71bae76
Use local get_t_ccds_bonus and remove initial duplication
jeanconn 2f59a32
Put guide candidates as fid attr. Improve names and optimize a bit
jeanconn 3ed9c46
Ruff
jeanconn db7afff
Update comment
jeanconn 819e999
Remove early-exit code for get_guide_catalog
jeanconn e0b1b25
Ruff
jeanconn a06ddd0
Ruff format
jeanconn 8688e74
Improve docs
jeanconn d678ca4
Make fid trap spoiler calc optional if candidates not passed to get_f…
jeanconn 286961d
Refactor and add tests
jeanconn f7088c4
Ruff
jeanconn 2c39e68
Misc fixes
jeanconn 3bd36c5
More ruff
jeanconn b802cd9
Fix double-call of process_monitors_pre()
jeanconn 46f6285
Fix issues in excluding stars
jeanconn b098a03
Move expensive imp_mag processing and redo monitor star keepout logic
jeanconn b77b42b
Handle guide_cands as fid attribute
jeanconn 4f759ac
Run proseco tests without kadi trying to use the internet
jeanconn 8c2a70c
Small fixes
jeanconn 97bff83
Cleanup
jeanconn 4e6618f
Update docstrings
jeanconn bfa05f4
Update logic around fid spoiler score and fix test
jeanconn 5c829d2
Use new fid_trap_spoiler flag instead of adding to spoiler score
jeanconn d0d622b
Remove stray print and comment that wasn't helping anything
jeanconn b984475
Update comments
jeanconn 01dec2d
More docstring update
jeanconn 797c012
Move an import
jeanconn aed74b6
Reorganize moved import
jeanconn 074eb21
Remove extra import
jeanconn d746413
Add another monitor star test case
jeanconn cad40bc
Be more consistent with the guide star candidates columns
jeanconn 99db2cc
Remove a newline
jeanconn 0aef5cc
Ruff
jeanconn f00bc10
Add another generic test of MON_AUTO behavior
jeanconn 4dd25b8
Rename some vars, move t_ccd_bonus tests, ruff
jeanconn db05074
Short circuit fid spoiler checks sooner
jeanconn 72d0bb7
Play with different optimization order
jeanconn 18ab110
Revert "Play with different optimization order"
jeanconn 3974e0b
Add notebook to help generate regress data
jeanconn 3113b97
Add notebook reviewing PR410 catalogs
jeanconn 56165ea
Simplify interface for get_guide_candidates
jeanconn b2801e8
Clear stages and stat values after filtering
jeanconn 3855245
Short circuit guide include ids if there aren't any
jeanconn ecacbc4
Keep new_stars and cand_guides in same colname order
jeanconn eb4a3e4
Add more guide tests related to candidate handling
jeanconn b23ec45
Update notebook
jeanconn 86549d6
Add a test of guide stars excluded by monitor star
jeanconn 55766b7
Update monitor keepout to at least exclude old alg range
jeanconn e5ee6d8
Update keepout test for new ranges
jeanconn 3c28edb
Update validation notebook for record
jeanconn 90bf0be
Add comment
jeanconn 4e1c6d2
Fix typo and improve comments in notebook
jeanconn c8f6638
Generalize fid.spoils for acq or guide stars
jeanconn e2bbbd6
Ruff
jeanconn 5488320
Add references to fid trap web page
jeanconn 7ba8392
Update notebook to include p2/guide_count impact
jeanconn 20b7039
Save initial guide candidates in immutable dataclass
jeanconn 2380d8a
Reduce scope of jupiter spoiler filter
jeanconn f94bd3c
Remove unnecessary stage/stat handling
jeanconn 6667d0b
Minor ruff
jeanconn 61d9f4d
Update comment on get_guide_candidates call
jeanconn 1348def
Convert the immutable guide candidates in catalog.py
jeanconn b918c74
Fix long comment
jeanconn 1ab0852
Simplify logging (suggestion from @taldcroft)
jeanconn 7103f01
Simplify logging 2 (suggestion from @taldcroft)
jeanconn 15ba760
Use better indexing in optimization (suggestion @taldcroft)
jeanconn 86f09db
Fixup
jeanconn 484d806
Use t_ccds_bonus name for consistency
jeanconn bab429a
Update comment
jeanconn 09c230b
Remove redundant keys()
jeanconn f2cb2aa
Simplify guide reuse logic
jeanconn f6d845a
Remove the immutable stuff and update comments
jeanconn 842ef9a
Ruff again
jeanconn cafb4e6
Pop off fids and mons kwargs explicitly
jeanconn 5bcd1ea
Change import order
jeanconn 918e905
Remove unhelpful comment
jeanconn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.