Skip to main content

Twist analysis plugin for GenIce.

Project description

genice-twist

Draw the structure with twist order parameter.

version 0.1.1

Requirements

  • genice>=0.25
  • genice-svg>=0.4
  • twist-op>=0.2

Installation from PyPI

% pip install genice_twist

Manual Installation

System-wide installation

% make install

Private Installation

Copy the files in formats/ into your local formats/ folder.

Usage

usage:
    genice II -f twist[options:separated:by:colons] > file

Output the twist values for all the hydrogen-bonded pairs.

options:
    png      Draw the hydrogen bonds with a rainbow palette according to the twist value in PNG format.
    png:CM   Draw the hydrogen bonds with color-mixing scheme in PNG format.
    png:DB   Draw the hydrogen bonds with decision-boundary coloring scheme in PNG format.
    png:SB   Draw the hydrogen bonds with simple boundary coloring scheme in PNG format.
    svg      Draw the hydrogen bonds with a rainbow palette according to the twist value in SVG format.
    svg:CM   Draw the hydrogen bonds with color-mixing scheme in SVG format.
    svg:DB   Draw the hydrogen bonds with decision-boundary coloring scheme in SVG format.
    svg:SB   Draw the hydrogen bonds with simple boundary coloring scheme in SVG format.
    yaplot   Draw the hydrogen bonds with a rainbow palette according to the twist value in YaPlot format.
    shadow   Draw shadows to the atoms (PNG and SVG)
    Ih=filename.twhist   Specify the (two-dimensional) histogram of twist parameter in pure ice Ih.
    Ic=filename.twhist   Specify the (two-dimensional) histogram of twist parameter in pure ice Ic.
    LDL=filename.twhist  Specify the (two-dimensional) histogram of twist parameter in pure LDL.
    HDL=filename.twhist  Specify the (two-dimensional) histogram of twist parameter in pure HDL.
    rotatex=30   Rotate the picture (SVG and PNG)
    rotatey=30   Rotate the picture (SVG and PNG)
    rotatez=30   Rotate the picture (SVG and PNG)

Auxiliary Files

  • IhST2.twhist
  • IcST2.twhist
  • LDLST2.twhist
  • HDLST2.twhist

They are two-dimensional (i.e. real and imaginary) histograms of twist order parameter of ST2 water at 235 K, 0.98 g cm$^{-3}$. You have to prepare the appropriate histogram if you want to apply CM (color-mixing) or DB (decision-boundary) coloring scheme to other water models or in other conditions.

Test in place

% make test

Reference

  • Matsumoto, M., Yagasaki, T. & Tanaka, H. A Bayesian approach for identification of ice Ih, ice Ic, high density, and low density liquid water with a torsional order parameter. J. Chem. Phys. 150, 214504 (2019).

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_twist-0.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

genice_twist-0.1.1-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file genice_twist-0.1.1.tar.gz.

File metadata

  • Download URL: genice_twist-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for genice_twist-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8b6dcebc8577c77262844e0a364604b5305bf12af342f761cdb9c90627132d59
MD5 305f92c8991dfb77edfeff3967342190
BLAKE2b-256 8ec4c97caf9d465198c099c23db80e7ce147dfeceae0e9e88fb8aeb977b67e2d

See more details on using hashes here.

File details

Details for the file genice_twist-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: genice_twist-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for genice_twist-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e80d1c70e58dd5c21e6abdd38636d348cb3b497c582b98e1ed633a57de7e1ad7
MD5 154d3b5b6b54a80aafb8361890c6a5ff
BLAKE2b-256 064900eeff7bccd26b469da2e5ddade828ef36a985efd8fdf88758358881a937

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