Analysis software for XPCS, XSVS and SAXS data.
Project description
Install Xana
A Fortran compiler and f2py
(now part of numpy
) are required build python
modules from fortran routines during installation. If the installation fails due
to a missing compiler see point 3.
-
Install Xana using pip:
pip install Xana
-
Install most recent Xana version from GitHub:
git clone https://github.com/reiserm/Xana.git cd Xana pip install .
or use
pip install -e .
for editable installation. Then you can update Xana by executinggit pull
from within the Xana directory. -
If a Fortran compiler is not already installed, try
-
Additional remarks on the installation on OSX:
- If installing Xana fails, it might help to unset the following environment variables:
unset LDFLAGS
andunset SHELL
thenpip install Xana
.
- If installing Xana fails, it might help to unset the following environment variables:
Example Data
An example XPCS dataset can be downloaded from Xana_example. The repository contains
- Example XPCS data measured with 100nm (diameter) SiO2 nanoparticles dispersed in a glycerol-water mixture.
- A mask of the detector, i.e., a 2D array where bad or broken pixels are 0 and others are 1.
- A tutorial Jupyter notebook.
Use
git clone https://github.com/reiserm/Xana_example.git
tar xzf ./Xana_example/xpcs_data.tgz
to download and unpack the data.
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.