Skip to content

Instantly share code, notes, and snippets.

@tlecomte
Created December 12, 2012 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlecomte/4266419 to your computer and use it in GitHub Desktop.
Save tlecomte/4266419 to your computer and use it in GitHub Desktop.
Working jython script in Icy
import sys
sys.path += ['/Users/tlecomte/jython2.5.3stdln+execnet/Lib/site-packages/execnet-1.1-py2.5.egg']
import execnet
from icy.main import Icy
im = Icy.getMainInterface().getFocusedImage()
data = im.getDataXYAsDouble(0)
print data[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment