Skip to main content

Core algorithms of GenIce2

Project description

Logo

GenIce-core

Core algorithms of GenIce2

version 0.5.1

Requirements

  • numpy
  • networkx

Installation

GenIce-core is registered to PyPI (Python Package Index). Install with pip3.

pip3 install genice-core

Uninstallation

pip3 uninstall genice-core

API

API manual is here.

Examples

Make an ice graph from a given undirected graph.

import networkx as nx
import matplotlib
import genice_core

# np.random.seed(12345)

g = nx.dodecahedral_graph()  # dodecahedral 20mer
pos = nx.spring_layout(g)

# set orientations of the hydrogen bonds.
dg = genice_core.ice_graph(g)

nx.draw_networkx(dg, pos)

Algorithms and how to cite them.

The algorithms to make a depolarized hydrogen-disordered ice are explained in these papers:

M. Matsumoto, T. Yagasaki, and H. Tanaka,"GenIce: Hydrogen-Disordered Ice Generator", J. Comput. Chem. 39, 61-64 (2017). DOI: 10.1002/jcc.25077

@article{Matsumoto:2017bk,
    author = {Matsumoto, Masakazu and Yagasaki, Takuma and Tanaka, Hideki},
    title = {GenIce: Hydrogen-Disordered Ice Generator},
    journal = {Journal of Computational Chemistry},
	volume = {39},
	pages = {61-64},
    year = {2017}
}

M. Matsumoto, T. Yagasaki, and H. Tanaka, “Novel Algorithm to Generate Hydrogen-Disordered Ice Structures.”, J. Chem. Info. Modeling 61 (6): 2542–46 (2021). DOI:10.1021/acs.jcim.1c00440

@article{Matsumoto:2021,
    author = {Matsumoto, Masakazu and Yagasaki, Takuma and Tanaka, Hideki},
    title = {Novel Algorithm to Generate Hydrogen-Disordered Ice Structures},
    journal = {Journal of Chemical Information and Modeling},
    volume = {61},
    pages = {2542-2546},
    year = {2021}
}

How to contribute

GenIce has been available as open source software on GitHub(https://github.com/vitroid/GenIce) since 2015. Feedback, suggestions for improvements and enhancements, bug fixes, etc. are sincerely welcome. Developers and test users are also welcome. If you have any ice that is publicly available but not included in GenIce, please let me know.

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

genice_core-0.5.1.tar.gz (338.3 kB view details)

Uploaded Source

Built Distribution

genice_core-0.5.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genice_core-0.5.1.tar.gz
  • Upload date:
  • Size: 338.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for genice_core-0.5.1.tar.gz
Algorithm Hash digest
SHA256 1169ac4505ca9028644c41b6306785f336a26e861e1d6850f160c68f3a116c2b
MD5 e542fdac253657f3e140524825f1191f
BLAKE2b-256 98c5955bb3544cab301cc4e7c0d636811156267d59c20a46f0b74f67268dcdba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genice_core-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for genice_core-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21d48ed5507e94b4df39f49fcb3a3ea2379dc890a3212f3dc742fcfff7a9362f
MD5 f67e87ce989c0440b57f4ad493d45074
BLAKE2b-256 4edd8f30b8c0519210bee0c6b2cad7031be5c7aae3d9b1ce24708dfcfe1c7e78

See more details on using hashes here.

Supported by

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