Skip to main content

Bridging Python and WaveMetrics Igor Pro

Project description

PyIgor

PyIgor bridges between Python and WaveMetrics Igor Pro.

Preparation

Usage

Accessing Igor Pro from Python

from pyigor import Connection
import numpy as np

array = np.sin(np.linspace(0, 10, 100))

igor = Connection()
igor.put(array, "sinwave")

wv = igor.get("sinwave")
print(wv)

Accessing Python from Igor Pro

Preparation in Python
from pyigor import Connection

igor = Connection()

@igor.function
def myfunc(a):
	return a*a

igor.wait_done()
Calling registered functions from Igor Pro
print PyIgorCall("myfunc(10)")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyigor-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

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