Skip to main content

interface for reading binary IGOR files

Project description

PyPI Version Build Status Coverage Status

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

See the docstrings and unit tests for examples using the Python API.

CLI

The package also installs to scripts, igorbinarywave and igorpackedexperiment which can be used to dump files to stdout. For details on their usage, use the --help option. For example:

igorbinarywave --help

Testing

Run internal unit tests with pytest:

pip install -r tests/requirements.txt
pytest tests

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

igor2-0.5.2-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file igor2-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: igor2-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for igor2-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa9582b79da8130bbb031b913b7da86c8ee49853f1d03b1c06448bb2556387f
MD5 5d698e7c9c11ec46d5559e593b141fb9
BLAKE2b-256 4a5be1dab83d6b419af2e0887aeafb3a133d0d85fbc6fb5eaec6e63e364e9aa5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page