Install and start dpdak v1.2.0

Aus Dpdak
Wechseln zu: Navigation, Suche

Windows

The binary packages for Windows include everything necessary to run DPDAK.

Install and run the binary package:

  • Download the release of DPDAK from the Download page.
  • Extract the downloaded archive to any location on your hard disk. All files will reside in a program folder that has the same name as the archive (except the .zip suffix).
  • Inside this program folder execute the dpdak.bat file to run dpdak.

Linux

The Linux installation is just from source. To use the source package of dpdak you need to install the free Python programming language and some additional libraries. Most Linux systems have Python installed by default.

The current version of dpdak needs the following Python version and packages:

  • Python (version 2.6 or 2.7)
  • wxPython
  • Python Imaging Library (PIL)
  • NumPy
  • SciPy
  • matplotlib
    • Version >= 1.1 recommended, though 1.0 might work as well.
  • NetworkX
  • fabio
  • pyFAI
    • Note: Versions beyond 0.9.2 are recommended to get the correct solid angle correction treatment.
  • h5py
    • Note 1: So far h5py is only used for the plugin that reads hdf5 files. If you do not need this, you can skip it.
    • Note 2: Version 2.1.1 or higher is required for reliable parallel data processing.

Please make sure to choose the correct package versions for your Python installation. E.g. if you installed Python 2.7.3 32-bit you need to install all packages in their 2.7 version for 32-bit as well.

On current Debian Linux distributions (Debian 7.0, Ubuntu 14.04, ...) you can install all necessary packages via the package manager FIXME: Have to test this!:

sudo apt-get install python-wxgtk2.8 python-imaging python-numpy python-scipy python-matplotlib python-networkx python-fabio pyFAI python-h5py

For other Linux distributions please check the websites for installation instructions.

Note that to make use of the 'SAXS/WAXS Integration (Fit2D)' plugin, you also have to install some 32-bit libraries. E.g. on Debian 7 you have to do FIXME: what?.


Steps after installing Python and the needed packages:

  • Download the source code of DPDAK via the Download page.
    • If you have chosen the tar ball, but it in an empty directory and extract it.
    • If you did it via git clone..., a subdirectory dpdak has been created.
  • Start DPDAK by executing the file 'main.py'.
    • It is recommended to do that within a command line terminal since otherwise some instructive error messages might be lost.