Skip to content

Inhomogeneity adjustment in the RDF #1337

Answered by joaander
foxojs asked this question in Support
Discussion options

You must be logged in to vote

CorrelationFunction computes the r-binned averages of $C(r) = \left\langle s^*_1(0) \cdot s_2(r) \right\rangle$ where $s$ is complex. If you set a real-valued $s = 1/\lambda$, you could compute the quantity you are interested in.

Note that CorrelationFunction does not normalize by $V \frac{N-1}{N}$ nor does it compute the number densities in the bins. That part can be included by post processing appropriately using the values provided in bin_counts and bin_centers.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@foxojs
Comment options

@joaander
Comment options

Answer selected by foxojs
@foxojs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants