Skip to main content

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.

  1. Install Xana using pip:

    pip install Xana
    
  2. 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 executing git pull from within the Xana directory.

  3. If a Fortran compiler is not already installed, try

    • Linux: apt install gfortran
    • MacOSX: brew install gcc
    • On Windows it is a little more complicated. A possible way to install a FORTRAN compiler is shown link1 or link2.
  4. Additional remarks on the installation on OSX:

    • If installing Xana fails, it might help to unset the following environment variables: unset LDFLAGS and unset SHELL then pip install Xana.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Xana-0.0.9.tar.gz (106.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page