This project provides a GUI for visualizing data acquired with the matlab-qd framework by Anders Jellinggaard. The gui itself is a Python implementation and expansion of the gui from matlab-qd.
Explore data with standard Matplotlib controls:
or with custom controls for, e.g., colormap, limits, aspect ratio:
Copy-paste the active figure with Ctrl-C
:
Generate code for figure with F2
:
Modify figure with Matplotlib commands (note that these modifications are captured by Ctrl-C
, but not by F2
):
Resize and dock to your heart's content:
All packages used for FolderBrowser are included in the Anaconda distribution. Get it from https://www.continuum.io/downloads with the newest Python 3 version.
If you already have Anaconda installed (with Python 3.5) but the packages are not up to date, simply run
conda update anaconda
from the terminal to update the packages.
When you have all packages installed run example.py
in the examples
directory.
- Python 3+ (tested with version 3.5)
- Matplotlib (tested with version 1.5.3, 2.0)
- PyQt 5 (tested with version 5.6)
- Numpy (tested with version 1.11)
- Pandas (improves loading times by a factor 2-10x, tested with version 0.18.1)
Key | Function |
---|---|
F2 | Copy code for figure to clipboard |
F5 | Reload file list |
F6 | Reload pseodocolumn file |
Ctrl-c | Copy figure as png |
Ctrl-t | Show figure properties in dialog as copyable text |
Ctrl-w | Close window |
Ctrl-shift-o | Open folder containing data |
Enter | Select sweep in the FileList |
Incomplete 2D data consists of a number of complete data rows and one partially completed data row. FolderBrowser truncates the data arrays at load-time so that a partially completed row is removed. This behavior is different from the matlab-qd gui where data is truncated at plot-time and only when making image plots. Thus, for image plots there is no observed difference for the user. For 2D data plotted as 1D, however, a partially completed row is not plotted in FolderBrowser, but is plotted in the matlab-qd gui. This behavior can be changed by padding the reshaped data array with NaN, but this may break other things, like checking whether the data is linearly varying in DataHandler.
This issue appears to be fixed with Python 3.6.1 in Anaconda 4.4.0. See https://stackoverflow.com/questions/43264773/pil-dll-load-failed-specified-procedure-could-not-be-found for reference. Original issue text follows below.
2017-03-31: Anaconda's Python 3.6 distribution may give an error when starting
FolderBrowser:
DLL load failed: The specified module could not be found.
In this case downgrade the distribution to Python 3.5 using
conda install python=3.5
from the terminal.
See also the TODO file.
Morten Canth Hels: [email protected]