-
Notifications
You must be signed in to change notification settings - Fork 5
Tomographic rho-/tau-statistics #295
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
Open
sachaguer
wants to merge
11
commits into
feature/sp_validation-extend-to-tomography
Choose a base branch
from
feature/tomo-rho-tau
base: feature/sp_validation-extend-to-tomography
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
8ae222b
Start updating rho-tau-stats file for tomography
sachaguer d0b4ea9
Bring parent branch sp_validation-extend-to-tomography to the child b…
sachaguer 0ce5416
Bring parent branch sp_validation-extend-to-tomography to the child b…
sachaguer 4912b50
Update calculation function to work in tomographic context.
sachaguer d8b1507
Update plot scripts for tau-statistics to handle tomography. Validate…
sachaguer 1e1a251
Fix typo in tomo bins col name
sachaguer 813e448
Account for Copilot comments
sachaguer e26c37d
Clean pseudo-cl test with the modified parameter initialisation
sachaguer 4559975
Reorganise functions in psf_systematics.py
sachaguer 197d54c
Update the rho_tau_fits script to compute the tomographic PSF additiv…
sachaguer 038f507
Update the rho_tau_fits script to compute the tomographic PSF additiv…
sachaguer 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -483,11 +483,20 @@ def results_objectwise(self): | |
| self._results_objectwise = self.init_results(objectwise=True) | ||
| return self._results_objectwise | ||
|
|
||
| def basename(self, version, treecorr_config=None, npatch=None): | ||
| def basename( | ||
| self, | ||
| version, | ||
| tomo_bin_a="all", | ||
| tomo_bin_b=None, | ||
| treecorr_config=None, | ||
| npatch=None, | ||
| ): | ||
| cfg = treecorr_config or self.treecorr_config | ||
| patches = npatch or self.npatch | ||
| tomo_bin_a_str = f"tomo_bin_{tomo_bin_a}" | ||
| tomo_bin_b_str = f"_tomo_bin_{tomo_bin_b}" if tomo_bin_b is not None else "" | ||
| return ( | ||
| f"{version}_minsep={cfg['min_sep']}" | ||
| f"{version}_{tomo_bin_a_str}{tomo_bin_b_str}_minsep={cfg['min_sep']}" | ||
| f"_maxsep={cfg['max_sep']}" | ||
|
Comment on lines
+496
to
500
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will have to be checked whether new outputs are read differently or if the call to open the file relies on the basename function as well. |
||
| f"_nbins={cfg['nbins']}" | ||
| f"_npatch={patches}" | ||
|
|
||
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.
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.