A Python module for reading the data files from Omicron NanoTechnology's MATRIX SPM system
Author: Alex M. Pronschinske
Version: 1.9.0
This package has the following direct dependencies:
- python 2.7
- numpy >= 1.6.0 (lower versions are untested)
- matplotlib >= 1.1.0
- python-pptx (optional)
- Pillow
- comments are timestamped with when the save button was click, and so they may not correspond perfectly to the image/spectrum they go with. Especially for fast acquisition times
- Add options to notebook_slides script: colormaps, leveling
- Install python (32-bit, ignore OS type), and make sure to check the option for adding python.exe to system PATH
- Open command prompt
- Install nose by typing in the command prompt (starting after
$
):$pip install nose
- Install numpy 1.9.1 (always official 32-bit package) from .exe
- Install all matplotlib dependencies, using
$pip install [package_name_here]
:
- six
- python-dateutil
- pytz
- pyparsing
- Pillow
- Install matplotlib 1.4.2 (always official 32-bit package) from .exe
- Install python-pptx:
$pip install python-pptx
- Install pyMTRX:
$pip install pyMTRX
- Install python (probably already there)
- Install pip
- Install python-nose:
$sudo apt-get install python nose
- Install numpy:
$sudo apt-get install python-numpy
- Install cython:
$sudo apt-get install cython
- Install all matplotlib dependencies:
$sudo apt-get build-dep python-matplotlib
- Install matplotlib:
$sudo apt-get install python-matplotlib
- Install python-pptx:
$sudo pip install python-pptx
- Install pyMTRX:
$sudo pip install pyMTRX
>>> import pyMTRX
>>> ex = pyMTRX.experiment('test_data/2014Oct09-090049_0001.mtrx')
>>> scans = ex.import_scan('2014Oct09-090049--1_122.Z_mtrx')
>>> scans[0][0].global_level()
>>> scans[0][0].save_png('image_of_data.png')