Molecular/crystal structure optimizer
Project description
berny
— Molecular optimizer
This Python 2/3 package can optimize molecular and crystal structures with respect to total energy, using nuclear gradient information.
In each step, it takes energy and Cartesian gradients as an input, and returns a new structure estimate.
The algorithm is an amalgam of several techniques, comprising redundant internal coordinates, iterative Hessian estimate, trust region, line search, and coordinate weighing, mostly inspired by the optimizer in the Gaussian program.
Installing
Install and update using Pip:
pip install -U pyberny
Example
from berny import Berny, geomlib optimizer = Berny(geomlib.readfile('geom.xyz')) for geom in optimizer: # get energy and gradients for geom optimizer.send((energy, gradients))
Links
- Documentation: https://azag0.github.io/pyberny
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pyberny-0.4.2-py2.py3-none-any.whl (73.4 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View hashes |
Filename, size pyberny-0.4.2.tar.gz (24.4 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Close
Hashes for pyberny-0.4.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ddd7f803aae1afa9e88830533ca9711010954ef5d9d342b8ce5316daa162b82 |
|
MD5 | 8d633442769a89afe4a0853a55851419 |
|
BLAKE2-256 | aa929f23da10cbb94f5f69783f708add8f43447a108c4b136e7bf2697db0745e |