-
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
Cluster clustering measurement code #377
base: master
Are you sure you want to change the base?
Conversation
…s, in richness bins. Wrote notebook to test the code and validate it against and external code.
Modified code to read catalogs already binned in redshift and richness. Updated example notebok to run with the new configuration. Updated data and random catalogs for validation.
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.
Looks good in general - see notes below for requested changes.
examples/clustering_test/outputs/test/cluster_twopoint_real.sacc
Outdated
Show resolved
Hide resolved
@@ -39,6 +39,7 @@ | |||
from .lssweights import TXLSSWeights | |||
from .simulation import TXLogNormalGlass | |||
from .magnification import TXSSIMagnification | |||
from .twopoint_cluster import TXTwoPointCluster |
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.
If we move the twopoint_cluster file (see comment below) then you should also change this.
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.
Not clear what is the "comment below".
Where should I move the twopoint_cluster file?
meanr, xi, varxi, tracer1, tracer2 = result | ||
|
||
# Add tracers (placeholders z/Nz values) | ||
s.add_tracer('NZ', tracer1, np.array([1]), np.array([1])) |
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.
Is this just a placeholder? You can also use a "misc" tracer for this. I think each tracer here is a richness/redshift bin - is that right? We might want to find a way to represent that.
Changed directory name from "clustering_test" to "twopoint_cluster" Updated example notebook and config files
Wrote code for measuring 2D two-point correlation function of clusters, in richness bins.
Wrote notebook to test the code and validate it against and external code.