Skip to content
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

Adds footprint option to cluster likelihoods #140

Draft
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

mattyowl
Copy link
Collaborator

Adds option to specify footprint in the data section of cluster likelihood Cobaya config .yaml files. This allows one to select a subset of the full ACT/SO survey area (e.g. DES) - to ensure a region with complete optical follow-up is selected. Some other changes to the data section of cluster likelihood .yaml files: now the user only needs to give the cat_file and selfn_path parameters - other files needed by the likelihood are found automatically).

Merging will also close #70, #69 (and #55 is related).

eunseongleee and others added 15 commits December 19, 2022 21:03
first attempt of trying pytest for both binned and unbinned cluster likelihood
speeding up the unbinned lkl without scatter (no repeated reading in for injection Q) and tidying up (removing obsolete funcs and renaming some params and funcs for clarity). rms_bin_index is not needed anymore for prediction, but still needed for rate densities.
for some reason, vectorisation for Pfun_per didn't speed up the code at all on my side. went back to the older version and read the entire catalogue at once and pass the tile index in computation of y0. starting preparation for inclusion of scatter.
synchronizing intrinsic scatter computation between binned and unbinned lkl (log10(y0) is switched to ln(y0) in unbinned)
switching back to error function for completeness
comoving volume element added for the rate density calculation, an interpolator for the comoving volume element added, source injection method for the unbinned implemented, low redshift cut for the unbinned implemented, application of debias factor checked
minor change with cash statistics, binned intrinsic scatter part
Select a footprint by adding e.g. footprint: 'DES' to the data
section of the .yml file.

Also changed the way in which paths are given (because the
structure of the selFn directory produced by nemo is always the
same). So just two paths should be needed - one for the catalog
(cat_file) and one for the selFn directory (selfn_path).
@mattyowl mattyowl changed the title Dev clusters footprints Adds footprint option to cluster likelihoods Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants