No project description provided
Project description
ZnDraw
Install via pip install zndraw
.
CLI
You can use ZnDraw with the CLI zndraw atoms.xyz
.
For a full list of arguments use zndraw --help
.
To interface with zndraw --update-function module.function
you need to be able to import via from module import function
.
The ZnDraw function expects as inputs
- atom_ids: list[int], the ids of the currently selected atoms
- atoms: ase.Atoms, the configuration as
ase.Atoms
file where atom_ids where selected. and as an output: - list[ase.Atoms], a list of ase Atoms objects to display.
def function(atom_ids: list[int], atoms: ase.Atoms) -> list[ase.Atoms]:
...
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
zndraw-0.1.0.tar.gz
(12.3 kB
view details)
Built Distribution
zndraw-0.1.0-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file zndraw-0.1.0.tar.gz
.
File metadata
- Download URL: zndraw-0.1.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.8 Linux/5.19.0-38-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31cdfdd97ca4cd52c26e06bb5acd8960648838cebffed697d6316c13a6f79887 |
|
MD5 | abb1b4f8d73b85df86143005ef48dd90 |
|
BLAKE2b-256 | 66fc71f7b2e695cb885db3ff600c3bdc7417b1326c1a9a81db64d78b7197d561 |
File details
Details for the file zndraw-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: zndraw-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.8 Linux/5.19.0-38-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32717dab8056e2f37a2c7da093be595e8135cdb054afacfb20893d4759b4ef04 |
|
MD5 | ea6f8fd8d517f24512b37bc901256bb4 |
|
BLAKE2b-256 | c328c860644ef7c7e0ce9df6f96a70afbe065972b4f673ec8788d86233d1008a |