Skip to content

Commit

Permalink
fix equation for RDF in average_rdf.ipynb (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst committed May 8, 2024
1 parent 66b1cf8 commit da00337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/examples/analysis/structure/average_rdf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"source": [
"A radial distribution function $g_{ab}(r)$ describes the time-averaged density of particles in $b$ from the reference group $a$ at distance $r$. It is normalised so that it becomes 1 for large separations in a homogenous system.\n",
"\n",
"$$ g_{ab}(r) = (N_{a} N_{b})^{-1} \\sum_{i=1}^{N_a} \\sum_{j=1}^{N_b} \\langle \\delta(|\\mathbf{r}_i - \\mathbf{r}_j| - r) \\rangle$$\n",
"$$ g_{ab}(r) = \\frac{1}{N_{a}} \\frac{1}{N_{b}/V} \\sum_{i=1}^{N_a} \\sum_{j=1}^{N_b} \\langle \\delta(|\\mathbf{r}_i - \\mathbf{r}_j| - r) \\rangle$$\n",
"\n",
"The radial cumulative distribution function is \n",
"\n",
Expand Down

0 comments on commit da00337

Please sign in to comment.