interface for reading binary IGOR files
Project description
Python parser for Igor Binary Waves (.ibw) and Packed Experiment (.pxp) files written by WaveMetrics’ IGOR Pro software.
Igor2 is the continuation of the inactive igor project, forked from W. Trevor King and originally written by Paul Kienzle (see git history).
Installation
You can install igor2 via pip:
pip install igor2
The commands igorbinarywave and igorpackedexperiment are currently not properly implemented (see https://github.com/AFM-analysis/igor2/issues/6), but it should be straight-forward to fix this.
To install igor2 with the command-line interface (CLI), run:
pip install igor2[CLI]
Usage
This package is a direct replacement of igor. Your scripts should work without any issues if you replace:
import igor
with:
import igor2 as igor
Usage
See the docstrings and unit tests for examples using the Python API. The package also installs to scripts, igorbinarywave.py and igorpackedexperiment.py which can be used to dump files to stdout. For details on their usage, use the --help option. For example:
$ igorbinarywave.py --help
Testing
Run internal unit tests with:
$ nosetests --with-doctest --doctest-tests igor test
The data in the test/data directory is in the Git repository, but it is not bundled with the source code. If you want the test data, you’ll have to clone the Git repository or download a snapshot.
Licence
This project is distributed under the GNU Lesser General Public License Version 3 or greater, see the LICENSE file distributed with the project for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.