GithubHelp home page GithubHelp logo

cj-wright / dioptas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dioptas/dioptas

0.0 2.0 0.0 94.62 MB

License: GNU General Public License v3.0

Python 94.31% Batchfile 0.01% Shell 0.01% Makefile 5.47% Fortran 0.21%

dioptas's Introduction

Dioptas

A GUI program for fast analysis of powder X-ray diffraction Images. It provides the capability of calibrating, creating masks, having pattern overlays and showing phase lines.

Maintainer

Clemens Prescher ([email protected])

Requirements

* python 2.7
* qtpy with PyQt5/PyQt4/PySide
* numpy
* scipy
* future
* pyFAI (https://github.com/kif/pyFAI)
* fabio (https://github.com/kif/fabio)
* pyqtgraph (http://www.pyqtgraph.org/) - newest version on github.com/pyqtgraph/pyqtgraph
* scikit-image
* PyCifRw

optional:

* pyopencl (increasing pyFAI integration speed)
* fftw3 (increasing pyFAI instegration speed)

It is known to run on Windows, Mac and Linux. For optimal usage on a windows machine it should be run with 64 bit python. When used with 32 bit Dioptas occasionally crashes because of limited memory allocation possibilities.

Installation

###Executables

Executable versions for Windows, Mac OsX and Linux (all 64bit) can be downloaded from:

https://uni-koeln.sciebo.de/index.php/s/cmHGpz4q9dpDRRL or http://millenia.cars.aps.anl.gov/gsecars/data/Dioptas/

The executable versions are self-contained folders, which do not need any python installation.

###Code

In order to make changes to the source code yourself or always get the latest development versions you need to install the required python packages on your machine.

The easiest way to install the all the dependencies for Dioptas is to use the Anaconda 64bit Python 2.7 distribution. Please download it from https://www.continuum.io/downloads. After having the added the scripts to you path (or use the Anaconda prompt on windows) please run the following commands on the commandline:

conda update --all
conda install numpy pillow scipy pandas matplotlib dateutil nose h5py pyqt scikit-image cython future
pip install lmfit pyqtgraph fabio mock pycifrw

The only more advanced dependency is to install pyFAI, since the current release version has some problems with the newest scipy version, please go to a temporary folder pyand run:

git clone https://github.com/kif/pyFAI
cd pyFAI
python setup.py install
cd ..

The pyFAI folder can be deleted after this.

Running the Program

You can start the program by running the Dioptas.py script in the dioptas folder.

dioptas's People

Contributors

cprescher avatar erangre avatar maxbyk avatar vallsv avatar newville avatar

Watchers

James Cloos avatar Christopher J. 'CJ' Wright avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.