iBeatles
GUI to automatically fit Bragg Edges, calculate and display strain mapping factors.
Installation
From PyPI (recommended)
To install the latest release from PyPI, use the following command:
pip install ibeatles
This should install the latest release of iBeatles and all its dependencies. To start the application, use the following command:
python -m ibeatles
which will start the GUI application. For command-line interface (CLI) application, use the following command:
python -m ibeatles --no-gui <CONFIG_FILE>
From Conda
To install the latest release from Conda, use the following command:
micromamba install -c conda-forge -c neutronimaging ibeatles
This should install the latest release of iBeatles and all its dependencies. To start the application, use the following command:
python -m ibeatles
which will start the GUI application. For command-line interface (CLI) application, use the following command:
python -m ibeatles --no-gui <CONFIG_FILE>
From Source
Check the instructions in the Development Environment Setup section to setup the development environment for iBeatles.
Development Environment Setup
It is recommended to use a virtual environment to setup the development environment for iBeatles.
The following instructions are for setting up a virtual development environment using pixi.
For detailed instructions on how to install pixi, please refer to the pixi documentation.
- Install
pixi:
curl -fsSL https://pixi.sh/install.sh | bash
- Clone the iBeatles repository:
git clone git@github.com:ornlneutronimaging/iBeatles.git
- Install the dependencies:
cd iBeatles
pixi install
Note that pixi install will install all dependencies, including the editable version of iBeatles.
By default,
pixiis configured to usedetached-environmentsso that you can build the conda packages directly in the repo. This settings can be changed bypixi config set detached-environments falseif needed.
Run iBeatles
There are several ways to start the application:
- Use the entry script to start the GUI application.
pixi run ibeatles
- Use
pixitasksrunto start the GUI application.
# to start GUI application
pixi run start
# to start CLI application
pixi run cli <CONFIG_FILE>
- Use Python interpreter to start the GUI application.
# start GUI application
pixi run python -m ibeatles
# start CLI application
pixi run python -m ibeatles --no-gui <CONFIG_FILE>
Run Tests
To run the tests, use the following command:
pixi run test
Alternatively, you can always invoke the Python interpreter directly:
python -m pytest
Note: we recommend using
pixito run the tests as it will ensure that the correct environment is used.
Build Documentation
More to come...
Packaging
PyPI Package
To build the PyPI package, use the following command:
pixi run build
This will create a dist directory containing the PyPI package.
Conda Package
To build the Conda package, use the following command:
pixi run build-conda
This will build the Conda packages in the conda.recipe directory.
To clean up all the builds, use
pixi run clean
If you prefer to clean all the environments (not builds), use
pixi clean
which will remove all the environments created by pixi.
Metadata
Release files for ibeatles 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ibeatles-1.3.0.tar.gz | 883.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ibeatles-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / ibeatles-1.3.0.tar.gz
| Download URL | ibeatles-1.3.0.tar.gz |
|---|---|
| Size | 883.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c4d72b4cc6a8f0c3bd1c0583bd85ac9d967cea276121ef204359cdada3eebe9
|
|
BLAKE2b-256 checksum How to use checksums |
64d940254746b81cc64ccc42df5f10a72a179da7799ceeabca773849cb571f9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 16, 2026.
Transparency logRelease files / ibeatles-1.3.0-py3-none-any.whl
| Download URL | ibeatles-1.3.0-py3-none-any.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cfeff9b76f10990b1067b7e23d468f4c7345dd3ab801c377e299105308afdac3
|
|
BLAKE2b-256 checksum How to use checksums |
3709bd2887db53bf819586831df894ff5cd55cc768c56c2f922bfb7d63fdf64f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 16, 2026.
Transparency log