[Scilab-users] 3d pair correlation function PCF

Rafael Guerra jrafaelbguerra at hotmail.com
Sat Jul 7 13:25:37 CEST 2018


Hi Heinz,

Have you checked following codes (both 2D and 3D cases provided) for particles inside a cubic volume:
https://github.com/cfinch/Shocksolution_Examples/blob/master/PairCorrelation/paircorrelation.py

It might be possible to adapt that code from a cubic volume to a spherical one.
For instance, it comes to mind evaluating if:    rMax + d < R,
where 'rMax' is as per code definition and 'd' is the distance of the particles from the center of the sphere with radius R

Regards,
Rafael




More information about the users mailing list