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

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.tar.gz (132.1 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-py3-none-any.whl (137.0 kB view details)

Uploaded Python 3

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

Hashes for ions-0.5.tar.gz
Algorithm Hash digest
SHA256 a032671028399ad599a8923e7e634d01e79a6375ab90d253d5c5da40268af86a
MD5 c0186d2e91b232ac9afffbe98ed9abcc
BLAKE2b-256 e79df5fbd926586666e4ab3023b29cb86fd3a2d4f0ff45d45ec2b0d3b847e4d4

See more details on using hashes here.

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

Hashes for ions-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5c7f98b770eb11736112faf3a06fce88e140925453095b97f7dec08819e0de32
MD5 38dc5f6540a34de2de5069f899667722
BLAKE2b-256 c20d02b7c468f7e0f38fd09419952b81ce01929c16954c91c5c0b33780254616

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