Repository navigation
New feature: Configuration file generator - #99
Draft
adrien-laposta wants to merge 2 commits into
Draft
adrien-laposta wants to merge 2 commits into
adrien-laposta wants to merge 2 commits into
Conversation
adrien-laposta
requested review from
earosenberg
and
a balanced review from Copilot
October 13, 2026 14:19
earosenberg
reviewed
Oct 14, 2026
| ).group() | ||
|
|
||
| blocks = [] | ||
| for freq in config["freq_channel"]: |
Collaborator
There was a problem hiding this comment.
Could make this more flexible with a single itertools.product loop instead of 4 nested
earosenberg
reviewed
Oct 14, 2026
| # map for filtering we scan higher resolution maps and | ||
| # then use low-res | ||
| sections["unfiltered_map_dir"][name] = \ | ||
| filtering["sim_dir"].replace("1.0arcmin", "4.0arcmin") |
Collaborator
There was a problem hiding this comment.
Hmm this is not ideal. We can't make these more general parameters in the soopercool template or something?
Collaborator
Author
There was a problem hiding this comment.
that's very annoying it's just that the input sims we use for filtering are different from input sims we use for TF ... I couldn't find a better solution. Although, input simulations are no longer used for TF estimation but we still compute their power spectra to identify possible bugs.
earosenberg
approved these changes
Oct 14, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
make_soopercool_configs.pyto generate a set of SOOPERCOOL configuration files from a single bundling/filtering/signflip configuration file.--config-file(bundling config),--output-dir(where to save the SOOPERCOOL runs) and '--output-config` (a root name to save configuration files)_TEMPLATE_CONFIG.yamlserving two purposes (1) document input formatting and (2) a template for this new script.