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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: Xana-0.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 5ad6006f12d5151ce079849b4854abab1654342288774546369822990cb7d28d
MD5 36b4c755d32f11b71b23cc2f137afd21
BLAKE2b-256 e0e96fdb842901b5a91f1b1fd11cd815bb1512ca021020744592fe99a71c0734

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