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.1.0.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.1.0-py3-none-any.whl (123.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xpcs_viewer-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ef32c817d3ab478c8412625de494c715b5e3af02f681af7d63ee5771c9bf4e93
MD5 0f952c4ece94ce9dbd7e2df72fb4891b
BLAKE2b-256 51276edcd171a1512dcc7b94f556328b1f4c5b8d5ebe76eb29278caffb5404b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for xpcs_viewer-1.1.0.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.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for xpcs_viewer-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6555508f962e6dfe8eb93b0884312f62a7e8a490fd8237a157adc9a8c8f3587
MD5 e8bf31e53422801e09a03e5f47659577
BLAKE2b-256 17dc2525795f8cf8e76e066912bed19b3c5387d0882063def2f99ac168474a45

See more details on using hashes here.

Provenance

The following attestation bundles were made for xpcs_viewer-1.1.0-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