Skip to content

Computing NN correlation from simulated catalogues without a random catalogue #124

@alexander-mead

Description

@alexander-mead

I've been using treecorr to compute the halo-halo correlation function from haloes identified in an N-body simulation. I am working in periodic 3D, with x, y and z positions of haloes. I am interested in auto correlations, as well as cross correlations between haloes in different mass bins. If I understand treecorr correctly, then I also have to generate some random catalogues (e.g., https://rmjarvis.github.io/TreeCorr/_build/html/guide.html#using-random-catalogs) to form the estimator.

However, I feel that if I am using simulated data with no masks etc. then I shouldn't need to generate a random catalogue, since in this case I know exactly what RR, DR, RD (https://rmjarvis.github.io/TreeCorr/_build/html/nn.html#treecorr.NNCorrelation.calculateXi) are in this case, since the background density should be completely uniform on average. Is there a way to bypass the need for a random catalogue in this case? Or am I misunderstanding something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions