aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/dataanalysis/picviewer.rst
blob: d767ec2ea5a5c353b3418117c87a5904ef5da842 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
PICViewer
=========

.. figure:: sample_image.png
   :alt: picture

PICViewer is a visualization GUI implemented on PyQt.
The toolkit provides various easy-to-use functions for data analysis of
Warp/WarpX simulations.

It works for both plotfiles and openPMD files.


Main features
-------------

* 2D/3D openPMD or WarpX data visualization,
* Multi-plot panels (up to 6 rows x 5 columns) which can be controlled independently or synchronously
* Interactive mouse functions (panel selection, image zoom-in, local data selection, etc)
* Animation from a single or multiple panel(s)
* Saving your job configuration and loading it later
* Interface to use VisIt, yt, or mayavi for 3D volume rendering (currently updating)


Required software
-----------------

* python 2.7 or higher: http://docs.continuum.io/anaconda/install.

* PyQt5

  ::

    conda install pyqt

* h5py

* matplotlib

* numpy

* yt

  ::

    pip install git+https://github.com/yt-project/yt.git --user

* numba


Installation
------------

::

  pip install picviewer

You need to install yt and PySide separately.

You can install from the source for the latest update,

::

  pip install git+https://bitbucket.org/ecp_warpx/picviewer/


To install manually
-------------------

* Clone this repository

  ::

    git clone https://bitbucket.org/ecp_warpx/picviewer/

* Switch to the cloned directory with `cd picviewer` and type `python setup.py install`

To run
------

* You can start PICViewer from any directory. Type `picviewer` in the command line. Select a folder where your data files are located.
* You can directly open your data. Move on to a folder where your data files ae located (`cd [your data folder]`) and type `picviewer` in the command line.

.. note::

   We currently seek a new maintainer for PICViewer.
   Please :ref:`contact us <contact>` if you are interested.