XRF Tomography Reconstruction
Project description
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 *
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xrf-tomo-0.1.2.tar.gz
.
File metadata
- Download URL: xrf-tomo-0.1.2.tar.gz
- Upload date:
- Size: 40.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7848c54c802032ced122423bdfd8cfc03838a4959fccb4284dadf48737d7af42 |
|
MD5 | 7b300dcdba3a914591a58e95bd129d5e |
|
BLAKE2b-256 | 61af34fbdf4bb4ac822dc690c8cfeb79114232e0ad7267286e6ac67d34b5231a |
File details
Details for the file xrf_tomo-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: xrf_tomo-0.1.2-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 294f9b4e5110aabfc3bb13c157be6900d41a5d122772cf568351ede82d1f3c0e |
|
MD5 | 0459816c52947bbccd383397ebafa824 |
|
BLAKE2b-256 | 62781b04d22a326fe8b7575a5f6cce0ce3bf2d5798f4c1e1d8061dadae113cad |