Skip to main content

ESRF ID02 XPCSUtilities

Project description

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.

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

xpcsutilities-1.0.4.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

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

xpcsutilities-1.0.4-py3-none-any.whl (60.0 kB view details)

Uploaded Python 3

File details

Details for the file xpcsutilities-1.0.4.tar.gz.

File metadata

  • Download URL: xpcsutilities-1.0.4.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xpcsutilities-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ea48ff2227c6a0dffa6da915d62e0e5760eeeabb7c21644c78b38f5d3c463507
MD5 28ab21c782ed80833390a74edc82d4ee
BLAKE2b-256 e584c6fe230aea6dcb8834de0db56b35b085600563cd43e140c2205ad4890564

See more details on using hashes here.

File details

Details for the file xpcsutilities-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: xpcsutilities-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 60.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xpcsutilities-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ea56fdf73b3b7efa4e0a6683610415238ee946535fec03e7db824bc5bf9a4d27
MD5 0bc4830cf1064f5d2ef590c1e3438b37
BLAKE2b-256 f34c4e1886ec5eda89f0d2390c1d428bc66dd4efe3bf8173763626c3893bed59

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