Skip to main content

Wavepy kernel library

Project description

wavepy

wavepy is Python library for data analyses of coherence and wavefront measurements at synchrotron beamlines. Currently it covers: single-grating Talbot interferometry, speckle tracking, and scan of Talbot peaks for coherence analysis.

Credits

We kindly request that you cite the following articles if you use wavepy.

  • List here the features.

Prerequisites

The following libraries should be installed in your system:

Installation

>>> python3 -m pip install wavepy

Installation as Developer

Syncing with git

Note

You need to have git installed

Clone

>>> git clone https://github.com/aps-xsd-opt-group/wavepy

Update your local installation

>>> git pull

To make git to store your credentials

>>> git config credential.helper store

Solving dependencies with conda

Note

You need to have anaconda or miniconda installed

Creating conda enviroment

>>> conda create -n ENV_NAME python=3.5 numpy=1.11  scipy=0.17 matplotlib=1.5 spyder=2.3.9 --yes

Warning

edit ENV_NAME

Solving dependencies

Activate the enviroment:

>>> source activate ENV_NAME

Warning

edit ENV_NAME

>>> conda install scikit-image=0.12 --yes
>>> conda install -c dgursoy dxchange --yes
>>> pip install cffi
>>> pip install unwrap
>>> pip install tqdm
>>> pip install termcolor
>>> pip install easygui_qt

Note

unwrap needs cffi, tqdm is used for progress bar

Adding Recomended packages

>>> conda install -c dgursoy xraylib

Additional Settings

easygui_qt conflicts with the Qt backend of matplotlib. The workaround is to change the backend to TkAgg. This can be in the matplotlibrc file (instructions here). In Spyder this is done in Tools->Preferences->Console->External Modules, where we set GUI backend to TkAgg

Project details


Download files

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

Files for wavepy, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size wavepy-1.0.5.tar.gz (74.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page