|
|
Download |
Summary
| License: | LGPL |
| Price: | Free |
| Author: | Opticks Team |
| Website: | http://opticks.org/confluence/display/opticksExtras/ |
| Latest Version: | 1.5.0 for Opticks 4.8.X updated on 2012-01-20 |
| Opticks Supported Versions: |
4.8.X |
| Operating Systems: |
Windows 32-bit |
| Support: | Community Supported. File bug reports/enhancements/new features into Opticks Extras project. |
This extension adds a new tab to the built-in scripting window in Opticks. This new tab in the scripting window allows you to write Python code from within Opticks. The extension adds approximately 9 new classes to Python to interface between Opticks and Python. This includes the ability to move Opticks image data back and forth to NumPy arrays, if NumPy is installed. It also includes the ability to create new windows in Opticks and modify what's displayed in those windows. You can also interface this extension with the built-in wizard ability of Opticks to create "one-click" buttons in Opticks that can run a very complicated Python script or series of Python scripts.
In order to fully utilize all the capabilities it is highly recommended that you also install NumPy into your Python installation. One of the easier ways to do this and get a bunch of other useful scientific and remote sensing capability for Python is to download and install the free Python(x,y) distribution.
How do I get started with Python?
- Make sure you have a copy of Python installed.
- This extension currently supports Python 2.5.X or Python 2.6.X.
- Download the appropriate version of the extension depending on the version of Python you wish to use. You can only install one version of the extension at a time for a given Opticks installation (for example you cannot install the version that targets Python 2.5.X and Python 2.6.X at the same time).
- Learn how to install Opticks extensions.
- Open up the "Scripting Window" in Opticks and find the "Python" tab. Start writing some Python code.
- If you cannot find the "Python" tab in the "Scripting Window" that might be because the extension could not locate your existing installation of Python. In this case, update the location of Python using the "Scripting\Python Engine" entry in the Options dialog (found under "Tools\Options...").
Using the Python interface
Help on the extension is available in the Python opticks module which can be accessed by typing:
or by looking in $OPTICKS_HOME/SupportFiles/site-packages at the .py source files. Further help on the SimpleAPI interface is available in the Opticks SDK help documentation under the Simple datacentric API module. There are plans in the future to bundle html documentation along with extension.
Sample Python Scripts
Head over to Sample Python Scripts.
Screenshots and Videos
TBD.
Roadmap
Python Scripting Extension 1.6.0
Scheduled Release Date: March 2012
This will be a new major release. This release will work with the upcoming 4.9.X releases of Opticks.
Older Releases
Stable Releases
Release Candidates




