Skip to main content

X-ray diffraction analysis for high pressure science

Project description

PeakPo

DOI

PeakPo is a Python application for X-ray diffraction analysis of samples at high pressure and high temperature.

Major features include:

  • Pressure and temperature estimation
  • Phase identification
  • Two-dimensional data analysis
  • Visual equation-of-state fitting
  • Peak fitting
  • Visual unit-cell fitting
  • Generation of Excel files containing all calculation results

How to install

For PeakPo 7.10.x, use a separate environment from PeakPo 7.9.x.

If you already installed PeakPo 7.9.x with pip in an environment named peakpo, rename that environment to pkpo709 first:

conda create -n pkpo709 --clone peakpo -y
conda remove -n peakpo --all -y

Then create a new environment for PeakPo 7.10.x:

conda create -n pkpo710 python=3.11 -y

Activate pkpo710:

conda activate pkpo710

Install PeakPo 7.10.x:

python -m pip install --upgrade pip
python -m pip install peakpo

Upgrading from 7.9.x to 7.10.x

PeakPo 7.9.x is based on PyQt5, while PeakPo 7.10.x is based on PyQt6.

Because of this Qt transition, do not upgrade in-place in your old 7.9.x environment. Keep 7.9.x in pkpo709, and install 7.10.x in pkpo710.

Recommended setup:

conda create -n pkpo709 --clone peakpo -y
conda remove -n peakpo --all -y
conda create -n pkpo710 python=3.11 -y
conda activate pkpo710
python -m pip install --upgrade pip
python -m pip install peakpo

Use environments like this:

conda activate pkpo709   # old 7.9.x
conda activate pkpo710   # new 7.10.x

How to upgrade

Upgrade inside the target environment:

conda activate pkpo710
python -m pip install --upgrade --upgrade-strategy eager peakpo

How to reinstall

Reinstall inside the target environment:

conda activate pkpo710
python -m pip install --force-reinstall peakpo

How to run PeakPo (pip install)

Activate the environment where peakpo is installed:

conda activate pkpo710

Run PeakPo:

peakpo

If the peakpo command is not found, run:

python -m peakpo

How to install before 7.9.x

Installation wiki page

Installation Google Slides

Where to download executables

I no longer provide executable files. You can still download previous versions from this Google Drive folder.

Where to get help

See the PeakPo wiki for detailed instructions on installation, setup, operation, and updates.

How to cite

S.-H. Shim (2017). PeakPo: A Python software package for X-ray diffraction analysis at high pressure and high temperature. Zenodo. https://doi.org/10.5281/zenodo.810199

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

peakpo-7.10.3.tar.gz (195.7 kB view details)

Uploaded Source

Built Distribution

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

peakpo-7.10.3-py3-none-any.whl (221.6 kB view details)

Uploaded Python 3

File details

Details for the file peakpo-7.10.3.tar.gz.

File metadata

  • Download URL: peakpo-7.10.3.tar.gz
  • Upload date:
  • Size: 195.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for peakpo-7.10.3.tar.gz
Algorithm Hash digest
SHA256 533b663af8d821f694549b8840fd126b11863254aa3a2c9a3ed9a23361d8b8c5
MD5 79b159b84bb97633ecec2edfa138252f
BLAKE2b-256 da3521c718b367dd819be6572b99233c076193c1e4ec41d47e30600cd9ca7974

See more details on using hashes here.

File details

Details for the file peakpo-7.10.3-py3-none-any.whl.

File metadata

  • Download URL: peakpo-7.10.3-py3-none-any.whl
  • Upload date:
  • Size: 221.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for peakpo-7.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1a84a6a0c0305dae8c6f087b877eb6768c57a68fdb75fb2533bde1dd9488d71
MD5 9ee5c8772a1d8ad367130af578cfd974
BLAKE2b-256 236a76fe4a13691b8b2d3b96dbcb4decf5938725dbd55a27603c37df3701aaaa

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