rdfpy is a Python package for computing 2D and 3D radial distribution functions.
Project description
rdfpy is a Python library for fast computation of 2D and 3D radial distribution functions.
Installation
$ pip install rdfpy
Usage
import numpy as np
from rdfpy import rdf
particles = np.random.uniform(0.0, 20.0, size=(2500, 3)) # random particles in a 20x20x20 box
g_r, radii = rdf(particles, dr=0.1)
You can find a more detailed example in the Documentation.
Note: In order for rdfpy to work correctly, your particles should spatially be in a cuboidal box, where the entire box is filled with particles.
Authors
rdfpy was developed by Batuhan Yildirim under the supervision of Prof. Jacqueline M. Cole.
Citation
If you use rdfpy in your work, please cite:
@software{rdfpy,
author = {Batuhan Yildirim and
Hamish Galloway Brown},
title = {by256/rdfpy: rdfpy-v0.1.7},
month = mar,
year = 2021,
publisher = {Zenodo},
version = {v0.1.7},
doi = {10.5281/zenodo.4603002},
url = {https://doi.org/10.5281/zenodo.4603002}
}
Funding
This project was financially supported by the Science and Technology Facilities Council (STFC) and the Royal Academy of Engineering (RCSRF1819\7\10).
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rdfpy-1.0.0.tar.gz.
File metadata
- Download URL: rdfpy-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.6.0 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99ac9f002148b09afc763bf86ccae094236f41a9762498760f5d28d021a2ba57
|
|
| MD5 |
cfc63161c69c6332feea6beee309600c
|
|
| BLAKE2b-256 |
d3e96dc620cc09e3bc5548093125d542d993107f136a4763973cf992388d016e
|
File details
Details for the file rdfpy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: rdfpy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.6.0 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c994446a553e2323e53b969558808358c71902ea09034e6ea994e6298e9e357
|
|
| MD5 |
5c8c9e1491fa62557dc0029a3ed01114
|
|
| BLAKE2b-256 |
e297aa8bb5aac21089d587dac33befa1cc3a2a925cb7ea572d31c4aa751a5225
|