Skip to main content

Data Analysis for X-ray Spectroscopy

Usage at the ESRF

In scripts

If you want to use the library in scripts you execute on the ESRF computing cluster, follow the steps below.

  1. Use a terminal to log in on one of the computing cluster front ends: ssh -Y account@cluster-access. The account can be your personal SMIS account or the user experiment number. Enter the associated password when prompted.
  2. Ask for resources: srun --x11 --pty bash -l. This will give you an interactive shell. In addition, you can add --time=hh:mm:ss to specify the maximum time the resources will be available; by default, it will be 1 hour.
  3. Load the spectroscopy environment module: module load spectroscopy. The command loads an environment that contains the latest stable version of daxs.
  4. Print the version of the library to test that everything went smoothly: python -c "import daxs; print(daxs.__version__)".

If all goes well with the previous command and you don't get an error, you should be able to use the library in your scripts.

In Jupyter notebooks

You can also use the library in Jupyter notebooks.

  1. Connect to https://jupyter-slurm.esrf.fr.
  2. Select the Spectroscopy (latest) in the Jupyter environment drop-down menu.
  3. Change the Job duration in case you need to run your notebook for a longer time, than the default 1 hour.
  4. Press Start at the bottom of the page.

image{width=35%}

You can find more information about Jupyter at ESRF here.

While this simplifies the usage, you will not be able to add Python packages to the virtual environment. If you want to use additional packages not present in the environment, either open an issue here or install the library in your home directory, in a virtual environment (see below).

Local installation

The latest stable version of the library can be installed using:

pip install daxs

The development version can be installed using:

pip install [--ignore-installed] git+https://gitlab.esrf.fr/spectroscopy/daxs.git

The --ignore-installed argument is required to upgrade an existing installation.

Installing the library in a virtual environment is best to avoid messing up other Python packages. See the official documentation on how to create and use virtual environments.

Documentation

The documentation can be found at https://daxs.readthedocs.io.

Metadata

Release files for daxs 2026.5

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

Source distribution (sdist)

Source distribution for daxs 2026.5
File Size Uploaded Provenance Actions
daxs-2026.5.tar.gz 71.9 kB Without provenance Details for daxs-2026.5.tar.gz

Built distribution (wheel)

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

Total release size: 150.3 kB

Release files / daxs-2026.5.tar.gz

Download URL daxs-2026.5.tar.gz
Size 71.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bc5aa888eeefe4a01b553451c89a5970613f0e27e429856e6cdece0eaa1ce897
BLAKE2b-256 checksum
How to use checksums
e4c94f4464e3ab8803731c56f206f35b3f98af5363a282bba1734b9bc49d9922
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / daxs-2026.5-py3-none-any.whl

Download URL daxs-2026.5-py3-none-any.whl
Size 78.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25f3d0fa8273acd2183685c04cfef514f85d4c2f34ede7f739a7d3839563549b
BLAKE2b-256 checksum
How to use checksums
6828c907b1c91b97091474100f87cef3b3ee28693152a5fac7620d2f1544631b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for daxs 2026.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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