Skip to main content

A Python project to plot Radial distribution function (RDF) from GSD file

Project description

pltRDF

Radial Distribution Function (RDF)

pltRDF is a Python package to plot RDF by reading a GSD file.

If your input is a trajectory, then it will consider only last frame.

Contributor

Installation

Prerequisites

  1. python3 or higher
  2. scikit-build
  3. freud-v2.0.0 or higher
  4. tbb and tbb-devel

Using PyPI

Use the package manager pip to install pltRDF. You must install tbb and tbb-devel separately, though wheels for tbb and tbb-devel exist on PyPi for specific operating systems. For example, on ubuntu, you may use the following command.

sudo apt install libtbb-dev

Now you are ready to use pip

pip install pltRDF

Using source code

git clone https://github.com/sumitavakundu007/pltRDF.git
tar -xvf pltRDF-X.X.X
cd pltRDF-X.X.X
python3 setup.py install --user

Usage

import pltRDF
pltRDF.rdf("input_file.gsd", "output_file.pdf") # a PDF file for RDF

It will ask for few inputs to calculate RDF like number of bins (bins), maximum cutoff distance (r_max)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

[MIT](https://choosealicense.com/licenses/mit/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pltRDF-0.1.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pltRDF-0.1.6-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file pltRDF-0.1.6.tar.gz.

File metadata

  • Download URL: pltRDF-0.1.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.8.0 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for pltRDF-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f014b3c26b3da48eae7affcbcfd63156fe9145ec8c5f223161fe0c0b86a6dc3d
MD5 6d80a9c9f6ba0a1e85f473a7a373a432
BLAKE2b-256 ba3f139ea00e3601ceaed55a4efa03a08c0faad79528d0cf0f19aaa48b5d73ed

See more details on using hashes here.

File details

Details for the file pltRDF-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pltRDF-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.8.0 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for pltRDF-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d66e3e277e95283a057e5abc9a710ad87c50077848447061914a119e098c650c
MD5 ce6c2825335445deeb499fee1abb8834
BLAKE2b-256 fd0d1a73e8e0a99f8633353d157cf8c5934c4a2bba26c15552c9d11dfbc9208f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page