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.
You can install igor2 via pip:
pip install igor2
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
See the docstrings and unit tests for examples using the Python API.
The package also installs two command-line-interface (CLI) scripts,
igorbinarywave
and igorpackedexperiment
which can be used to dump files
to stdout. You should install the [CLI]
extra for them to fully work:
pip install igor2[CLI]
For details on their usage, use the --help
option. For example:
igorbinarywave --help
Run internal unit tests by cloning the repository and installing the
[dev]
extra and then running the tests:
git clone https://github.com/AFM-analysis/igor2.git cd igor2 pip install -e .[dev] pytest
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.