Skip to main content

A python package to extract symmetry information from structure files, including POSCAR, CIF, and other format supported by ase.io.read.

Project description

structure2symmetry

This small python code uses Atomic Simulation Environment and spglib to determine the symmetry information from a structure file like POSCAR, CIF and many more supported by ase.io.read(refer to https://wiki.fysik.dtu.dk/ase/ase/io/io.html).

Installation

Using pip, use the following command to install

pip install structure2symmetry

Using the source code

git clone https://github.com/Shibu778/structure2symmetry.git
cd structure2symmetry
pip install -e .

Use

You can use following commandline interface to get symmetry information from a structure file.

struct2symm --filepath "./SiC.cif" --tolerance 1e-6 --angle_tolerance 0.01 --destination "./" --savefile "data.info"

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

structure2symmetry-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

structure2symmetry-0.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file structure2symmetry-0.0.1.tar.gz.

File metadata

  • Download URL: structure2symmetry-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for structure2symmetry-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0bfe9631de8d4a8bbe69f80dd465d0324271574281f92543d98338d507d21c8e
MD5 59e9f83ad662dca7eaecc8c6b6184e26
BLAKE2b-256 4a3707e3ece11a7643a976aa0fb3097b36031f1fd81f179808b31b77e31b31cc

See more details on using hashes here.

File details

Details for the file structure2symmetry-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for structure2symmetry-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23836af167dd42423347d21651c653dd045714a3a34682bc32b908ea4fc51ab3
MD5 4689188b8327d33a9ef7a66b2c968cae
BLAKE2b-256 39a40481cea272aa244bb569dae43507f8f62bbab3529cde4c903c4b257fc320

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