Skip to main content

A program for visualising diffraction data in pdCIF format.

Project description

A program for the visualisation of diffraction data in pdCIF format.

Crystallographic Information Framework (CIF; https://www.iucr.org/resources/cif) files are a way of storing crystallographic information in a standard human- and machine-readable format. This particular program is focussed on visualising powder diffraction data stored in CIF format, and, in particular, serial or in situ/operando data.

  • Free software: Apache Software License 2.0

Pre-installation

If you are on Windows, you must read this step. If you are on Linuz, you can continue.

pdCIFplotter requires PyCifRW >= 4.4.3. If you install PyCifRW from PyPI via pip, then you will also need to compile the included C modules. To do so requires Microsoft Visual C++ 14.0 or greater. If you don’t have this installed, or do not wish to install it, precompiled wheel files are available. You must download the wheel file corresponding to your Python installation.

To obtain information about your Python installation, run the command:

python -VV

An example output is Python 3.9.4 (tags/v3.9.4:1f2e308, Apr 6 2021, 13:40:21) [MSC v.1928 64 bit (AMD64)], showing that this is 64 bit Python 3.9.

Using pip version 19.2 or newer, install your downloaded wheel file as:

pip install c:\path\to\file\name_of_file.whl

This should install PyCifRW, and you can move on to the next step. If you encounter any issues in the installation, please lodge an issue.

Installation

To install the release version of pdCIFplotter from PyPI:

pip install pdCIFplotter

You can also install the in-development version from GitHub with:

pip install https://github.com/rowlesmr/pdCIFplotter/archive/master.zip

Quick usage

To run pdCIFplotter as a standalone program:

python -m pdCIFplotter

or:

pdcifplotter

Documentation

https://pdCIFplotter.readthedocs.io/en/latest/

Development

This isn’t fully implemented yet.

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.0.3 (2021-11-10)

  • Separated GUI and plotting code

  • Fixed crash on changing to surface tab before opening CIF

0.0.2 (2021-11-07)

  • Update install requirements - mplcursors 0.5 is now available, rather than installing from git.

  • Can now launch from command line with just > pdcifplotter

0.0.1 (2021-11-06)

  • Update install requirements and provided prompting to user on installing packages not available on PyPi.

0.0.0 (2021-11-05)

  • First release on PyPI.

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

pdCIFplotter-0.0.3.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

pdCIFplotter-0.0.3-py2.py3-none-any.whl (31.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pdCIFplotter-0.0.3.tar.gz.

File metadata

  • Download URL: pdCIFplotter-0.0.3.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

File hashes

Hashes for pdCIFplotter-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d70341b42b724d5bfa11a1d30421cadc4eb4311ac7d280751ee9fee638d879ac
MD5 252aa4f6a5cae68d4651c2f8a8b72dd3
BLAKE2b-256 23aec710f80802f7e3e07a98845b023650484fa8235b0bc23af41369db47465d

See more details on using hashes here.

File details

Details for the file pdCIFplotter-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pdCIFplotter-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

File hashes

Hashes for pdCIFplotter-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 217f639c499238cbea7a3be44695745377adb5cc7814ab9a7877b497588f4d82
MD5 f5a506dbfe44ebfbe16abaafb67cf140
BLAKE2b-256 b6169542ce21681ec486eb69bf0a427bf719f8dccb03fa156d7dc22746596de8

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