Skip to main content

A python library for studying ionic conductors

Project description

ions_logo

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

How to cite

If you use the library consider citing the following paper:

@article{dembitskiy2025benchmarking,
  title={Benchmarking machine learning models for predicting lithium ion migration},
  author={Dembitskiy, Artem D and Humonen, Innokentiy S and Eremin, Roman A and Aksyonov, Dmitry A and Fedotov, Stanislav S and Budennyy, Semen A},
  journal={npj Computational Materials},
  volume={11},
  number={1},
  pages={131},
  year={2025},
  publisher={Nature Publishing Group UK London}
}

Project details


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.1.tar.gz (133.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ions-0.5.1-py3-none-any.whl (137.4 kB view details)

Uploaded Python 3

File details

Details for the file ions-0.5.1.tar.gz.

File metadata

  • Download URL: ions-0.5.1.tar.gz
  • Upload date:
  • Size: 133.0 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

Hashes for ions-0.5.1.tar.gz
Algorithm Hash digest
SHA256 64ff7793d09498742c2acbdc64e60cce1d49d1ac6d686e45dfe918e412596378
MD5 43b6976762ad628b62380402f9b283ec
BLAKE2b-256 b5116456c2449b2ff79283360c63f6ad238d429259e428588518676ac2e51d68

See more details on using hashes here.

File details

Details for the file ions-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: ions-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 137.4 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

Hashes for ions-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 411c9c54c62ccd7e47cab484c3ef5812f4b0b0ee63c92a28cad1c1719088bf39
MD5 6fa144ae2cb778e5e66456e4749da1d9
BLAKE2b-256 54f0eb31a9fa036ba53b8e9d4f02f5c68d218ed5d074a2d4fb3a94ef32a231ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page