wavePy is Python library for data analyses of coherence and wavefront measurements at syncrotron beamlines. Currently it covers: single grating imaging, speckle tracking, scan of Talbot peaks for coherence.
We kindly request that you cite the following articles if you use wavePy.
- List here the features.
- Documentation: https://github.com/wavepy/wavepy/tree/master/doc
- Issue Tracker: https://github.com/wavepy/wavepy/issues
- Source Code: https://github.com/wavepy/wavepy
Note
You need to have git installed
>>> git clone https://github.com/wavepy/wavepy>>> git pull>>> git config credential.helper storeNote
You need to have anaconda or miniconda installed
>>> conda create -n ENV_NAME python=3.5 numpy=1.11 scipy=0.17 matplotlib=1.5 spyder=2.3.9 --yesWarning
edit ENV_NAME
Activate the enviroment:
>>> source activate ENV_NAMEWarning
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_qtNote
unwrap needs cffi, tqdm is used for progress bar
>>> conda install -c dgursoy xraylibeasygui_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