Skip to main content

pyXPCSViewer: A python-based interactive tool to visualize and model XPCS dataset

Project description

A python-based interactive visualization tool to view XPCS dataset.

To cite pyXPCSViewer:

Chu et al., “pyXPCSviewer: an open-source interactive tool for X-ray photon correlation spectroscopy visualization and analysis”, Journal of Synchrotron Radiation, (2022) 29, 1122–1129.

Supported Format

This tools supports the customized nexus fileformat developed at APS-8IDI’s XPCS data format for both multi-tau and two-time correlation.

Install and Uninstall

Updated 03/11/2025

It is highly recommended to set up a new virtual environment to isolate pyXPCSViewer, so it does not interfere with dependencies of your existing applications.

  1. Install conda following the instructions at link.

  2. Create a brand-new environment with conda:

    conda create -n your_env_name python==3.10.16

    Replace your_env_name with your preferred environment name.

  3. Activate the new environment:

    conda activate your_env_name
  4. Install pyXPCSViewer:

    pip install xpcs-viewer

    Note: Running conda and pip commands together is generally not recommended. pyXPCSViewer will only use pip or conda once compatibility issues are resolved.

  5. Launch pyXPCSViewer:

    1. Activate your environment if you have not already.

    2. Run:

      pyxpcsviewer path_to_hdf_directory   # Run the viewer from the hdf directory
      pyxpcsviewer                         # Run in the current directory

    run_viewer, an alias to pyxpcsviewer, can also be used to luanch the viewer.

  6. To upgrade:

    1. Activate your environment if you have not already.

    2. Run:

      pip install -U xpcs-viewer
  7. To uninstall:

    1. Activate your environment if you have not already.

    2. Run:

      pip uninstall xpcs-viewer
    3. If you want to remove the environment altogether, first deactivate it:

      conda deactivate

      Then remove it:

      conda remove -n your_env_name --all

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

xpcs_viewer-1.0.6.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

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

xpcs_viewer-1.0.6-py3-none-any.whl (109.5 kB view details)

Uploaded Python 3

File details

Details for the file xpcs_viewer-1.0.6.tar.gz.

File metadata

  • Download URL: xpcs_viewer-1.0.6.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xpcs_viewer-1.0.6.tar.gz
Algorithm Hash digest
SHA256 a2b0a14cc4043a55e1a704e812c61bcf864d10dc6312cc4bb001f1bdf095e025
MD5 a17a6c6560e882394b3ec9870b3cee63
BLAKE2b-256 58f933ac361125c28a799de06be41c095df2c5318aacfaeda1a122cb3f5206bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for xpcs_viewer-1.0.6.tar.gz:

Publisher: publish-pypi.yml on AdvancedPhotonSource/pyXpcsViewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xpcs_viewer-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: xpcs_viewer-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 109.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xpcs_viewer-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 04bd13ce03c920ed1edaf07ba3b238caedb1ce81fa57c3c66443b26b8860d969
MD5 1ea8256eb0c801ce07e309587e643cc7
BLAKE2b-256 5d0686b9879d31bdead20b61a4a6393e638fc8e220a1028364b0e33686d0f486

See more details on using hashes here.

Provenance

The following attestation bundles were made for xpcs_viewer-1.0.6-py3-none-any.whl:

Publisher: publish-pypi.yml on AdvancedPhotonSource/pyXpcsViewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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