Skip to main content

Lint, test, build, and publish (PYPI, CONDA) PyPI Conda

PyPI pyversions Anaconda-Server Badge Binder

Welcome to LaueTools's DOCUMENTATION!

Last revision (Sept. 2026)

LaueTools information on BM32 beamline website:

https://www.esrf.fr/UsersAndScience/Experiments/CRG/BM32/Microdiffraction

1- Download LaueTools code


  • It is highly recommended to create a conda (or pip) environment. See INSTALL.readme

  • the very last version of the code running with python3 is now on github (you are also welcome to fork this project):

    https://github.com/BM32ESRF/lauetools

  • last (or older releases) with repository on pypi

    https://pypi.org/project/LaueTools/

    if pip is installed:

     pip install lauetools
    
  • optional features need extra packages, installed by adding their name in brackets:

     pip install "lauetools[daxm]"   depth-resolved Laue analysis (DAXM, daxmgui): numba, photutils, pypubsub
     pip install "lauetools[hdf5]"   .hdf5 summary files (buildsummary), EIGER stacked hdf5 images: tables
     pip install "lauetools[all]"    all optional features
    

    Without them, LaueTools works normally; only these features are disabled (a message tells which package is missing).

2a- Launch Graphical User Interfaces of LaueTools


  • start Lauetools GUIs from command line :

Normally, in a command window (if environment variables are well set) several GUIs can be launched:

> lauetools   for the main GUI, simulation, complex Laue pattern calibration, teaching the concepts

> peaksearch  for batch Laue pattern peak search processing
> indexrefine   for batch Laue pattern indexing and unit cell (strain) refinement
> buildsummary    to compile all results from indexrefine analysis
> plotmap    to plot 2D map of structural quantities from file built previously

> plotmeshgui   to plot 2D map from counters values in (spec) logfile

> daxmgui   for depth-resolved Laue analysis with wire scans (needs: pip install "lauetools[daxm]")

2b- Use LaueTools module as a library


With pip installation, LaueTools package will be included to python packages. Therefore any module will be callable as the following:

-In [1] : import LaueTools.readmccd as rmccd

-In [2] : rmccd.readCCDimage(‘myimage.tif’)

Some useful notebooks workflow to treat images dataset

The notebooks are installed with LaueTools. To copy them (with their YAML configuration files, the tutorials notebooks and the scripts) to a folder of your choice:

lauetools-copy -d my_folder          (default folder: ./lauetools_examples)
lauetools-copy-gui                   (choose the folder in a dialog, no terminal needed)
lauetools-copy -d my_folder -w notebooks   (only the quickstart, peaksearch and indexation notebooks)
lauetools-copy -d my_folder --download     (also download the example images from GitHub to my_folder/LaueImages)

Files already present in the folder are not overwritten (option --force to overwrite them). Then start with jupyter lab my_folder/notebooks/quickstart/laue_maps_quickstart.ipynb.

Metadata

Release files for lauetools 3.2.19

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

Source distribution (sdist)

Source distribution for lauetools 3.2.19
File Size Uploaded Provenance Actions
lauetools-3.2.19.tar.gz 10.9 MB Without provenance Details for lauetools-3.2.19.tar.gz

Built distribution (wheel)

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

Total release size: 15.2 MB

Release files / lauetools-3.2.19.tar.gz

Download URL lauetools-3.2.19.tar.gz
Size 10.9 MB
Tags Source
SHA-256 checksum
How to use checksums
8360fcec5c951fca2b19c0b4cf92910d8e04789c80dc20da2f2ac4e776941e66
BLAKE2b-256 checksum
How to use checksums
944dc23b835c11bba7307a196f8c276805f6f01304c2468cd092cc4397ef0695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / lauetools-3.2.19-py3-none-any.whl

Download URL lauetools-3.2.19-py3-none-any.whl
Size 4.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ae0a6fa97b4a158a226886817f028732c3451d3c30e793c8b127e840951d1959
BLAKE2b-256 checksum
How to use checksums
52a73668ef542f0748f8e7da0a88c4388a8e3b6674c652ad25a8e827bd2ddb59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for lauetools 3.2.19

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.

Release history Release notifications | RSS feed

This release

3.2.19 This release

2 release files No provenance

3.2.4

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