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.10.tar.gz (106.2 kB view details)

Uploaded Source

File details

Details for the file Xana-0.0.10.tar.gz.

File metadata

  • Download URL: Xana-0.0.10.tar.gz
  • Upload date:
  • Size: 106.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1.post20200323 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

File hashes

Hashes for Xana-0.0.10.tar.gz
Algorithm Hash digest
SHA256 04fb70e747d13c343c786800a590eadadfaa55365a68717c0ecfdfb79b23734a
MD5 01280d1b7c9e7124655ee1634085ea3f
BLAKE2b-256 e330cb12e8a3acd1c12cb685c95ba01f86554dc0df5d147037867800a9589db4

See more details on using hashes here.

Supported by

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