Cheat-sheet for all available interfaces in Corrfunc¶
This guide assumes that you already followed the Package Installation section of the documentation to get the package and its dependencies set up on your machine. There are three available interfaces in Corrfunc
Using the static library interface in Corrfunc. The static libraries have the form
libcount<statistic>.a
; the corresponding header file is namedcount<statistic>.h
.
Calculating spatial clustering statistics in simulation boxes¶
Corrfunc can compute a range of spatial correlation functions and the counts-in-cells. The easiest way to get help on the command-line is by calling the executables without any input parameters. Here is the list of executables associated with each type of clustering statistic:
Clustering Statistic |
Python Interface |
Static library |
Command-line (executable name) |
---|---|---|---|
\(\xi(r)\) |
|
|
|
\(\xi(r_p,\pi)\) |
|
|
|
\(\xi(s,\mu)\) |
|
|
|
\(w_p(r_p)\) |
|
|
|
\(\xi(r)\) |
|
|
|
\(pN(n)\) |
|
|
Calculating clustering statistics in mock catalogs¶
The list of clustering statistics supported on mock catalogs and the associated command-line executables are:
Clustering Statistic |
Python Interface |
Static library |
Command-line (executable name) |
---|---|---|---|
\(\xi(r_p,\pi)\) |
|
|
|
\(\xi(s,\mu)\) |
|
|
|
\(\omega(\theta)\) |
|
|
|
\(pN(n)\) |
|
|
If you are not sure which correlation function to use, then please also see Which correlation function to use?.