[ase-users] Radial Distribution Function

Maxime Van den Bossche maxime.cp.vandenbossche at gmail.com
Mon Aug 12 13:45:54 CEST 2019


Dear Amarjit,

I didn't implement this function, but I had a look at
the code and to me it seems correct, and also
corresponds to the formula you provided (though
with a more precise determination of the 'shell
volumes' in the normalization).

The documentation could perhaps be a little improved
though. The implemented scheme is the standard
one used for extended systems. For e.g. isolated
nanoparticles or gas-phase molecules, one would
normally not use the number density in the normalization
(since the volume is ill-defined). And for extended systems,
one also should make sure that the cell encloses a sphere
with radius rMax, and one then also needs to provide
a distance matrix calculated within the minimum image
convention, otherwise some neighbours will not get
counted. I will open a merge request on this later today.

Best,
Maxime


Op zo 11 aug. 2019 om 12:00 schreef <ase-users-request at listserv.fysik.dtu.dk
>:

> Send ase-users mailing list submissions to
>         ase-users at listserv.fysik.dtu.dk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
> or, via email, send a message with subject or body 'help' to
>         ase-users-request at listserv.fysik.dtu.dk
>
> You can reach the person managing the list at
>         ase-users-owner at listserv.fysik.dtu.dk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ase-users digest..."
>
>
> Today's Topics:
>
>    1. Radial Distributional Function (A Singh)
>    2. Re: Potential Pubchem API Integration (Ask Hjorth Larsen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 10 Aug 2019 17:04:46 +0100
> From: A Singh <a.singh.2313 at gmail.com>
> To: ase-users at listserv.fysik.dtu.dk
> Subject: [ase-users] Radial Distributional Function
> Message-ID:
>         <
> CAFn314c5rF4CXHqH5xGH4V-EKNgospfECeeGmPqzy8jpcGfEEQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello all,
>
> I've been using the get_rdf() function from ase/ga/utilities.py and have
> noticed that the formula for calculating radial distribution is not the
> same as found in computational chemistry books. The correct formula I
> believe is:
> *g(r)=n(r)/(Nr 4p r**2**Dr)*
> In which *g(r)* is the RDF, *n(r)* is the mean number of atoms in a shell
> of width D*r* at distance *r*, r is the mean atom density, *N * is the
> total number of atoms.
> It would be great if someone could explain what has been implemented in
> get_rdf().
>
>
> Thanks,
>
> Amarjit Singh Gaba
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20190812/78d89549/attachment.html>


More information about the ase-users mailing list