Skip to main content

Display XPCS result files from ESRF ID02 beamline, perform basic operations on results, basic fitting tools.

XPCSUtilities logo

XPCSUtilities logo

Installation

System requirements

XPCSUtilities works only with python version >= 3.6. Pip will take care of all dependencies. Dependency list can be showed in setup.py file.

It is strongly recommended to install XPCSUtilities in a dedicated virtual environment (virtualenv) to prevent any library version mismatch issue.

Stable version:

pip install xpcsutilities

Development version:

pip install https://gitlab.esrf.fr/id02/xpcsutilities/-/archive/main/xpcsutilities-main.zip

python package

This package can be used in your own analysis script to read data directly from the hdf5/NxXPCS format.

from xpcsutilities.tools.result_file import XPCSResultFile

with XPCSResultFile('my_filename.h5') as fd: # Always use into a with statement!

    print(fd.analysis_keys)

    lag, cf, std = fd.get_correlations('full') # Use here the right analysis key

    cf, lag, age = fd.get_ttcf('full', 3) # Return the TTCF of ROI#3 in the 'full' analysis

GUI

To launch the program:

XPCSUtilities

If installed in an virtual environement, load the environement first.

On the left panel, you’ll find the files of current working folder. You can select any files that you want to display on the right panel. Current working folder is set by the “Set working folder” button. Files are filtered according to the wildcard filter below the button. Multiple filters can be set by using a comma-separated list if wildcards. New files are automatically displayed on the list.

The plot button below display the selected file(s) in current tab.

SAXS 1D

This tab display the radial average of the time averaged 2D pattern. This graphs also shows the correlation ranges.

SAXS 2D

This tab display the time averaged 2D pattern. Mask and q-mask can be displayed as overlay.

  • Corrected: raw 2D pattern corrected by flatfield file

  • Raw: Time average of all 2D patterns recorded

  • Averaged: 2D pattern reconstructed from 1D curve

Correlations

This tab display the correlation functions

TTCF

This tab display the Two Time Correlation Functions

Fit

This tab provide basic fitting tools. Several models can be used togethers to fit the data.

Metadata

Release files for xpcsutilities 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xpcsutilities 1.0.4
File Size Uploaded
xpcsutilities-1.0.4.tar.gz 48.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xpcsutilities 1.0.4
File Interpreter ABI Platform
xpcsutilities-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 108.7 kB

Release files / xpcsutilities-1.0.4.tar.gz

Download URL xpcsutilities-1.0.4.tar.gz
Size 48.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ea48ff2227c6a0dffa6da915d62e0e5760eeeabb7c21644c78b38f5d3c463507
BLAKE2b-256 checksum
How to use checksums
e584c6fe230aea6dcb8834de0db56b35b085600563cd43e140c2205ad4890564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / xpcsutilities-1.0.4-py3-none-any.whl

Download URL xpcsutilities-1.0.4-py3-none-any.whl
Size 60.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea56fdf73b3b7efa4e0a6683610415238ee946535fec03e7db824bc5bf9a4d27
BLAKE2b-256 checksum
How to use checksums
f34c4e1886ec5eda89f0d2390c1d428bc66dd4efe3bf8173763626c3893bed59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page