Skip to main content

Plots and measures angles and distances between points in 3-Dimensions

Project description

POINTS-CLI

Use this program to display random points and measure angles and distances between them.

Description:

Points-cli is a small program that takes a given number of randomly generated points in 3-Dimensions and plots them in multiple colors using matplotlib. It then allows the user to obtain various measurements from distances and angles of the points to the van de Waals potential between centers of noble gases' molecules emulated by the random points.

The points are restricted within boundaries of a box. The user interacts with the program through both the command line interface and the matplotlib plot. From the command line interface the user is taken through elaborative steps that describe the proper arguments and options. The plot is a 3D scatter plot with an extra feature that enables the user to hover the mouse over any point to display the index assigned to that point.

After the plot has been displayed an access to a menu appears on the command line with five options: Measure distance, Measure angle, vdW Lennard-Jones, vdW Morse and Exit.

GETTING STARTED

Dependencies:

  1. Python 3.7.6
  2. Numpy 1.18.1
  3. Matplotlib 3.1.3
  4. tqdm 4.47.0

Installing:

pip install Points-cli

Executing program:

Points-cli

Help:

To make the program run faster opt for a smaller number of points depending on the processing power and memory available at your disposal.

You can always use Ctrl+C to prematurely exit the program.

Authors:

  1. Ridhiwan Ramadhan Mseya

Version History:

--> Version 0.1.2 -Increased calculation speeds. -Added options to calculate van de Waals potentials.

--> Version 0.1.1 -Downloads needed dependencies.

--> Version 0.1 -Initial Official Release.

License:

This project is licensed under the name Points-cli License - see the LICENSE file for details.

Acknowledgments:

Inspiration from Antoine Marion.

References:

Lennard-Jones parameters:

  1. Oh, S., 2013. Modified Lennard-Jones Potentials with a Reduced Temperature-Correction Parameter for Calculating Thermodynamic and Transport Properties: Noble Gases and Their Mixtures (He, Ne, Ar, Kr, and Xe). Journal of Thermodynamics, 2013, pp.1-29.
  2. Gopal, R., 2020. ON INTERMOLECULAR LENNARD-JONES POTENTIAL ENERGY PARAMETERS FOR RADON. [online] Osti.gov. Available at: https://www.osti.gov/biblio/4765928 [Accessed 14 July 2020].

Morse parameters:

  1. Matsumoto, A., 2020. Parameters Of The Morse Potential From Second Virial Coefficients Of Gases. [online] Semanticscholar.org. Available at: https://www.semanticscholar.org/paper/Parameters-of-the-Morse-Potential-from-Second-of-Matsumoto/7f2ead7c7a8a964f1c90a6c3640a85b87c608688 [Accessed 15 July 2020].

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

Points-cli-0.1.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

Points_cli-0.1.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file Points-cli-0.1.2.tar.gz.

File metadata

  • Download URL: Points-cli-0.1.2.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for Points-cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5351b3e21f361a507243d7dcf0ebfd145982974f06443baf3465e84cf1b4f0f3
MD5 0b4ce17e107cb3b2af86c8ccefb10842
BLAKE2b-256 190bfe81d52ce1a8c6e23b835338293b30a75de97d66fc118765feceaab35f35

See more details on using hashes here.

File details

Details for the file Points_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: Points_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for Points_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ce3564337c636152f11a0a5f7c1384c10b91a1bf083d550dc6d985e30a731aa
MD5 38985a0a65d35afd9275c7a621fd8501
BLAKE2b-256 e45c5b7c9244a9d02d26a627f709f2d774e4c3625129b711352eaee950877463

See more details on using hashes here.

Supported by

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