Molecular/crystal structure optimizer
Project description
PyBerny
PyBerny is an optimizer of molecular geometries with respect to the total energy, using nuclear gradient information.
In each step, it takes energy and Cartesian gradients as an input, and returns a new equilibrium structure estimate.
The package implements a single optimization algorithm, which is an amalgam of several techniques, comprising the quasi-Newton method, redundant internal coordinates, an iterative Hessian approximation, a trust region scheme, and linear search. The algorithm is described in more detailed in the documentation.
Several desirable features are missing at the moment but planned, some of them being actively worked on (help is always welcome): crystal geometries, coordinate constraints, coordinate weighting, transition state search.
PyBerny is available in PySCF, ASE, and QCEngine.
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://jhrmnn.github.io/pyberny
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 pyberny-0.6.3.tar.gz.
File metadata
- Download URL: pyberny-0.6.3.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4bd9d3d2d58261e8f1d91b8204cc563617044d4b9daf6aae8feee31893cb336
|
|
| MD5 |
2b9fa70273995451f46d756b9cc5d103
|
|
| BLAKE2b-256 |
4822fa2aa59c294449f13cbbbdc62c6e926bbd0379c6cf1a3d16e51e383f4316
|
File details
Details for the file pyberny-0.6.3-py3-none-any.whl.
File metadata
- Download URL: pyberny-0.6.3-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edb37aee86cc0f607b88b7f504dc6708a3eb167c6fc48a7d36bb9f92d0302a1d
|
|
| MD5 |
6ea535b85d04678f9ea07c32e4adbfa9
|
|
| BLAKE2b-256 |
8989b5999219e5cfb990ac498db73aa32c59a40fcaea5310124da7c2a63a27b4
|