-
Notifications
You must be signed in to change notification settings - Fork 7
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
Issue/438/cluster wl simple #461
base: master
Are you sure you want to change the base?
Conversation
This reverts commit 6d4fc3c.
…DESC/firecrown into issue/438/cluster_wl_simple
This reverts commit 6d4fc3c.
@@ -107,11 +107,11 @@ def _compute_theory_vector(self, tools: ModelingTools) -> TheoryVector: | |||
if cl_property == ClusterProperty.COUNTS: | |||
theory_vector_list += cluster_counts | |||
continue | |||
|
|||
if cl_property == ClusterProperty.DELTASIGMA: |
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.
Before, this was giving an error if the property was neither COUNTS or MEAN_MASS. However, the way the code is structure now, I want to be able to pass two statistics for the likelihood, and this statistics will not do anything with the DELTASIGMA data type. It has not to give an error because the other statistics will read this data (I have one SACC file with all the three data types). Nonetheless, should we test it here if all the properties provided are at least in the ClusterProperty module? Is there a good way to do it besides adding a for loop here? @m-aguena @vitenti
@@ -63,7 +63,7 @@ def get_observed_data_and_indices_by_survey( | |||
# pylint: disable=no-member | |||
data_type = sacc.standard_types.cluster_mean_log_mass | |||
else: | |||
raise NotImplementedError(cluster_property) | |||
continue |
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.
Here is another example from my last comment. I want it to go through the data and just do not do anything if it is not a property of the statiscs. However this should be replaced with another error if the provided properties are not the ones from the ClusterProperty module
Please enter the commit message for your changes. Lines starting
@vitenti All the tests pass in my local computer. The problem is that the new modules need |
Since |
I think there was some discussion about it, but I don't know if this will be done soon. |
@eduardojsbarroso |
I will take a look at this then and message you once I found some problems. Thank you @vitenti |
Hi @vitenti, is it possible to add a package on the Firecrown dependencies from direct links to a github? Because I know in
Can we add this line to the |
The qp package is already on conda-forge https://github.com/conda-forge/qp-feedstock . Does CLMM have a reason to use a direct pip install? |
I think that the installation was done before the |
Hi @vitenti , |
Description
Implementation of cluster shear profile analysis in Firecrown.
Type of change
Checklist:
The following checklist will make sure that you are following the code style and
guidelines of the project as described in the
contributing page.
bash pre-commit-check
and fixed any issues