A python library for studying ionic conductors
Project description
Contents
About
ions is a python library made for studying crystalline ionic conductors
Installation
pip install ions
or
git clone https://github.com/dembart/ions
cd ions
pip install .
Minimal usage examples:
Note: The last library update was not systematically tested. Errors are expected. Be careful.
Inequivalent ionic jumps (edges) forming a percolating network
from ase.io import read
from ions import Percolator
file = '/Users/artemdembitskiy/Downloads/LiFePO4.cif'
atoms = read(file)
pl = Percolator(atoms, mobile_specie='Li', upper_bound=5.0)
bottleneck_radius = 0.5
mincut, maxdim = pl.mincut_maxdim(bottleneck_radius)
print(f'Maximum percolation dimensionality: {maxdim}')
print(f'Jump distance cutoff: {mincut} angstrom', '\n')
edges = pl.unique_edges(mincut, bottleneck_radius, method = 'naive')
print(f'Inequivalent edges forming {maxdim}D percolating network:')
print(edges)
Maximum percolation dimensionality: 2
Jump distance cutoff: 4.755859375 angstrom
Inequivalent edges forming 2D percolating network:
[[ 0 3 0 -1 0]
[ 0 0 -1 0 0]]
Notebooks
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
ions-0.5.tar.gz
(132.1 kB
view details)
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
ions-0.5-py3-none-any.whl
(137.0 kB
view details)
File details
Details for the file ions-0.5.tar.gz.
File metadata
- Download URL: ions-0.5.tar.gz
- Upload date:
- Size: 132.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.66.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a032671028399ad599a8923e7e634d01e79a6375ab90d253d5c5da40268af86a
|
|
| MD5 |
c0186d2e91b232ac9afffbe98ed9abcc
|
|
| BLAKE2b-256 |
e79df5fbd926586666e4ab3023b29cb86fd3a2d4f0ff45d45ec2b0d3b847e4d4
|
File details
Details for the file ions-0.5-py3-none-any.whl.
File metadata
- Download URL: ions-0.5-py3-none-any.whl
- Upload date:
- Size: 137.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.66.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c7f98b770eb11736112faf3a06fce88e140925453095b97f7dec08819e0de32
|
|
| MD5 |
38dc5f6540a34de2de5069f899667722
|
|
| BLAKE2b-256 |
c20d02b7c468f7e0f38fd09419952b81ce01929c16954c91c5c0b33780254616
|