Depiction of Potential Energy Surfaces.
Project description
PESViewer
Visualize a potential energy surface
Developer: Ruben Van de Vijver, Laboratory for Chemical Technology, Ghent University
The PESViewer is a code to depict and analyze a potential energy surface characterized by wells, bimolecular products, transition states and barrierless reactions. Their energy is needed to plot the potential energy surface. Written values of the energies and 2D plots (structural formulas) of the wells and products can be added to the figure
To run this code, you need python version 2.7, matplotlib, numpy and optionally OpenBabel or RDKit to create 2D plots
INSTALL
Clone the project onto your machine and go to the PESViewer directory. Type:
python setup.py build
python setup.py install
INPUT
A text file containing the stationary points, energies, names identifiers and options, see the input.txt as example.
For wells, write each well on a separate line as follows (smiles are optional to depict the molecule, if no xyz's are available):
name energy smiles
For bimolecular products (again smiles are optional):
name energy smiles
For reactions (colors are optional, and if available the line of the reaction will be given that color):
name energy reactant product color
For bimolecular products (again colors are optional)
name reactant product color
The plotting options (to be written in the input file) are:
option | default | Description |
---|---|---|
title | 0 | print a title (1) or not (0) |
units | kcal/mol | energy units |
use_xyz | 1 | use xyz, put 0 to switch off |
rescale | 0 | no rescale , put the well or bimolecular name here to rescale to that value |
fh | 9. | figure height |
fw | 18. | figure width |
margin | 0.2 | margin fraction on the x and y axis |
dpi | 120 | dpi of the molecule figures |
save | 0 | does the plot need to be saved (1) or displayed (0) |
write_ts_values | 1 | booleans tell if the ts energy values should be written |
write_well_values | 1 | booleans tell if the well and bimolecular energy values should be written |
bimol_color | red | color of the energy values for the bimolecular products |
well_color | blue | color of the energy values of the wells |
ts_color | green | color or the energy values of the ts, put to 'none' to use same color as line |
show_images | 1 | boolean tells whether the molecule images should be shown on the graph |
rdkit4depict | 1 | boolean that specifies which code to use for the 2D depiction |
axes_size | 10 | font size of the axes |
text_size | 10 | font size of the energy values on the graph |
Optionally a folder xyz/ containing the xyz coordinates of the stationary points ($name.xyz) (for bimolecular products, use several xyz coordinates files ($name$index.xyz) )
RUN
With the input file input.inp, type:
pesviewer input.inp
OUTPUT
The output is a modifiable matplotlib figure.
2 modifications are possible
- modifing the x-position of a stationary point by a 'drag and drop' of the energy value
- modifing the position of 2D structure images by a 'drag and drop' of the image
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
File details
Details for the file PESViewer-1.1.tar.gz
.
File metadata
- Download URL: PESViewer-1.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0074242dcaa7824874424c549d746221bd212260554afdf9e7ea1d1205d31d |
|
MD5 | 1e484011250fc876d4ae12325c71efb7 |
|
BLAKE2b-256 | 5f1621d83b743021887b9b034c3a3593a13e35c134735cd32f30df665080c927 |
File details
Details for the file PESViewer-1.1-py3-none-any.whl
.
File metadata
- Download URL: PESViewer-1.1-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a333561684be6852bb8e3780145592f11b082981fb5f366ab5f7172ca7351e |
|
MD5 | 1e9eabfbf2e5e480e17e2de4ce6455bd |
|
BLAKE2b-256 | 483a26c46d234c36e668b40bc909a447cdf92bb0727b27def67947b3ed4c3c7f |