XRF Tomography Reconstruction
Installation
The software is expected to work with Python version 3.7-3.9. Create conda environment with the preferable python version:
$ conda create -n xrf-tomo-env python=3.8 -c conda-forge $ conda activate xrf-tomo-env
tomopy and xraylib (dependency of PyXRF) are not available from PyPI and need to be installed from conda-forge:
$ conda install tomopy pyxrf -c conda-forge
svmbir is an optional dependency. Install svmbir separately if needed. Instructions are slightly different depending on OS. Linux:
$ pip install svmbir
OSX:
$ ln -sf /usr/local/bin/gcc-10 /usr/local/bin/gcc $ CC=gcc pip install --no-binary svmbir svmbir
Windows:
$ CC=gcc pip install svmbir
Finally install this package. From PyPI:
$ pip install xrf-tomo
From source (develop install). Clone the repository in the appropriate directory and then install with pip:
$ git clone https://github.com/NSLS-II-SRX/xrf-tomo $ cd xrf-tomo $ pip install -e .
Using the package
Activate the environment:
$ conda activate xrf-tomo-env
In IPython environment or a script import necessary or all functions from the package, e.g.
from xrf_tomo import *
Metadata
Release files for xrf-tomo 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xrf-tomo-0.1.2.tar.gz | 40.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xrf_tomo-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.8 kB
Release files / xrf-tomo-0.1.2.tar.gz
| Download URL | xrf-tomo-0.1.2.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7848c54c802032ced122423bdfd8cfc03838a4959fccb4284dadf48737d7af42
|
|
BLAKE2b-256 checksum How to use checksums |
61af34fbdf4bb4ac822dc690c8cfeb79114232e0ad7267286e6ac67d34b5231a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / xrf_tomo-0.1.2-py3-none-any.whl
| Download URL | xrf_tomo-0.1.2-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
294f9b4e5110aabfc3bb13c157be6900d41a5d122772cf568351ede82d1f3c0e
|
|
BLAKE2b-256 checksum How to use checksums |
62781b04d22a326fe8b7575a5f6cce0ce3bf2d5798f4c1e1d8061dadae113cad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|