Skip to main content

oganesson enables rapid AI workflows for material science and chemistry

Project description

Oganesson

oganesson (og for short) is a python package that enables you to apply artificial intelligence workflows to your material discovery projects.

Installation

og requires the installation of the following library:

After installing the above library, you can install og using the pip command as follows:

pip install oganesson

Features

og is currently under active development. The following features are currently available.

Machine learning descriptors

og will bring together machine learning descriptors for materials and molecules within a unified framework. og currently provides the following descriptors:

  • The BACD, ROSA and SymmetryFunctions introduced in this publication
  • Most of the descriptors from DScribe

Each descriptor has its own class, which extends the Descriptors class in the oganesson.descriptors module. Here is an example of how to describe a structure using the BACD and SymmetryFunctions descriptor classes.

from oganesson.descriptors import BACD, SymmetryFunctions
from oganesson.ogstructure import OgStructure

bacd = BACD(OgStructure(file_name='examples/structures/Li3PO4_mp-13725.cif'))
print(bacd.describe())

sf = SymmetryFunctions(OgStructure(file_name='examples/structures/Li3PO4_mp-13725.cif'))
print(sf.describe())

Genetic algorithms

The main purpose of og is to make complex artificial intelligence workflows easy to compose. Here is an example: running a genetic search for structures, where the structure optimization is performed using the M3GNET neural network model.

from oganesson.genetic_algorithms import GA
ga = GA(species=['Na']*4 + ['H']*4)
for i in range(10):
    ga.evolve()

Generation of the diffusion path for NEB calculations

The most painful part of doing transition state calculations in VASP is in building the images. The following code makes this happen in 2 lines of code. You only need to specify the structure file, and the atomic species you want to diffuse, and OgStructure will generate a folder for each path, and then write the POSCAR image files in each of these folders.

In the following example, we explore the possible Li diffusion paths in Li3PO4, given there are 6 Li atoms in the cell.

from oganesson.ogstructure import OgStructure
og = OgStructure(file_name='examples/structures/Li3PO4_mp-13725.cif')
og.generate_neb('Li')

Note that the default value of r, which is 3, is sufficient for lithium systems. However, for the case of larger atoms such as Na, a larger value of r would be required.

Finding a reasonable adsorption site of an atom on a surface

from oganesson.ogstructure import OgStructure
og=OgStructure(file_name='examples/structures/MoS2.vasp')
og.add_atom_to_surface('Li').structure.to('MoS2_Li.vasp','poscar')

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

oganesson-0.1.47.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

oganesson-0.1.47-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file oganesson-0.1.47.tar.gz.

File metadata

  • Download URL: oganesson-0.1.47.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for oganesson-0.1.47.tar.gz
Algorithm Hash digest
SHA256 96d75c954d662208a1706fbd6c53eaa3f6b54bc0cf9ac50b4ba8f1df5cc8d8b0
MD5 5c7eaad3e1d69ed699523a3c8eb33d21
BLAKE2b-256 44db55dcad320bb2fdb00bdb9b5078e6c7d1faee84d4ad4ea07ea1a941a18c52

See more details on using hashes here.

File details

Details for the file oganesson-0.1.47-py3-none-any.whl.

File metadata

  • Download URL: oganesson-0.1.47-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for oganesson-0.1.47-py3-none-any.whl
Algorithm Hash digest
SHA256 74dd056708a67086efd259900f21585fa65c38a43d79dda390b5e40a2a1e3f29
MD5 a997eec768f034835d473c75313afcc3
BLAKE2b-256 8a6f3c4a231012ec5f6e309c9cbc346484eb4a726dbae100dd9202e00ea8808d

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