igor: interface for reading binary IGOR files.
Project description
- License:
GNU General Public License, version 3+
Python parsers for Igor Binary Waves (.ibw) and Packed Experiment (.pxp) files written by WaveMetrics’ IGOR Pro software.
Installation
Packages
If igor already exists in your package manager’s repository, you should install igor in the usual way.
Gentoo
I’ve packaged igor for Gentoo. You need layman and my wtk overlay. Install with:
# emerge -av app-portage/layman # layman --add wtk # emerge -av sci-misc/igor
Dependencies
If you’re installing by hand or packaging igor for another distribution, you’ll need the following dependencies:
Package |
||
---|---|---|
python-numpy |
dev-python/numpy |
|
python-matplotlib |
dev-python/matplotlib |
|
python-nose |
dev-python/nose |
Installing by hand
igor is available as a Git repository:
$ git clone git://tremily.us/igor.git
See the homepage for details. To install the checkout, run the standard:
$ python setup.py install
You can also automate this installation with pip:
$ pip install 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
For users transitioning from igor.py, there’s a compatibility module exposing the old interface. Just change:
import igor
to:
import igor.igorpy as igor
in your calling code.
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 COPYING file distributed with the project for details.
Maintenance
Maintainer
W. Trevor King wking@tremily.us Copyright 2008-2012
Release procedure
When a new version of the package is ready, increment __version__ in igor/__init__.py and run update-copyright:
$ update-copyright.py
to update the copyright blurbs. Then run:
$ python setup.py sdist upload
This will place a new version on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file igor-0.3.tar.gz
.
File metadata
- Download URL: igor-0.3.tar.gz
- Upload date:
- Size: 51.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b04ac38c68fb81cf3167a9981dc5a20379112d40268bb72c5a8514dc8051abba |
|
MD5 | d77bc9ecef7031807199421aea34616a |
|
BLAKE2b-256 | bef2ad4b0027e58c78958b40d9da54e5674a9e851207a9b61e5edd4112f154ec |