-
Notifications
You must be signed in to change notification settings - Fork 22
Mss3 tweaks #1205
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
Mss3 tweaks #1205
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f5f281b
Add PWV cuts
keskitalo f361d7f
Put the add_obs call into a function to profile it separately
keskitalo 2443631
Make FilterBin more compatible with Splits
keskitalo 7998f73
Add option to apply splits as flags rather than views. Notable speedu…
keskitalo 1b50d95
Reset flags by default
keskitalo 43a7ac3
Add support for sorting the schedule
keskitalo 73da03b
use a consistent communicator and report the size of the focalplane
keskitalo 62b3365
Remove debug statement
keskitalo 7e1312e
Report the number and size of process groups
keskitalo 34eac4b
Add single detector WCS scanning
keskitalo 6c15990
Don't override full_pointing=True with otherargs.full_pointing
keskitalo 518527a
Propagate stokes weight mode to demodulated weights
keskitalo 656923c
Do not attempt to manipulate a non-existent trait
keskitalo 176633f
Skip over existing splits (when restarting a failed job)
keskitalo 9c33aaa
Make sure shared flags do not get altered
keskitalo 09e374b
Add unit test for splits_as_flags
keskitalo 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
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
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
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
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
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.
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.
Inside the
Splitbase class, when a split is created a interval list is created and the per-detector flags are saved. When the split is removed, that interval list is purged and the per-detector flags are restored.If you are applying the
FlagIntervalsoperator, that will modify the shared flags and leave it in a different state at the end. I think in order to do this cleanly, you would need to save the shared_flag values, overwrite them here for each split, and then restore them when each split is removed.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.
Good point. Just modifying a user-specified flag bit is not enough. I added saving and restoring of the shared flags. I also expanded on the existing unit test to confirm that intervals and flags produce the same output maps.