Spectral Python (SPy) is a pure Python module for processing hyperspectral image data. SPy has functions for reading, displaying, manipulating, and classifying hyperspectral imagery. SPy can be used interactively from the Python command prompt or via Python scripts. SPy is free, open source software distributed under the GNU General Public License. To see some examples of how SPy can be used, you may want to jump straight to the documentation sections on Displaying Data or Spectral Algorithms. You can download SPy from the SPy Project Page hosted by Sourceforge.net.
2013-09-06 : SPy 0.12 is released.
SPy 0.12 provides an improved memmap interface that enables accessing image data using arbitrary interleaves and supports editable images (see open_memmap for details). The RX anomaly detector (rx) now allows anomaly detection using local (sub-image) statistics by specifying an inner/outer window around each pixel. The ability to disable algorithm progress messages and addition of a wrapper around matplotlib’s imshow function are provided to simplify integration of SPy code with IPython Notebooks.
2013-04-03 : SPy 0.11 is released.
This release adds an RX anomaly detector, ability to save and create images in ENVI format (see save_image and create_image), and a unit-testing sub-package. The top-level namespace has been simplified and several functions have been renamed for consistency (image is now open_image and save_image is now save_rgb).
2013-02-23 : SPy 0.10.1 bug-fix release is now available.
This is a bug-fix release that corrects the spectrum displayed when double- clicking on a raster display. Version 0.10 introduced a bug that had the row/column swapped, resulting in either the wrong pixel being plotted or an exception raised.
If you have installed SPy 0.10, you should install this update as soon as possible.
2013-02-17 : SPy 0.10 is released: SPy now uses IPython for GUI display.
As of this release, SPy now uses IPython for non-blocking GUI windows. IPython should be started in pylab mode with the appropriate backend set (see Starting IPython). The standard python interpreter can still be used if GUI functions are not being called. This release also resolves a number of issues associated with different versions of wxWidgets (2.8.x vs. 2.9.x) on various operating systems.
2013-01-23 : SPy 0.9 adds a linear matched filter target detector.
2012-07-10 : SPy 0.8 adds N-Dimensional visualization of hyperspectral image data.
The ndwindow function enables viewing of high-dimensional images in a 3D display. See N-Dimensional Feature Display for details.
Hypercube display now uses mouse control for pan/zoom/rotate.
Fixed a bug in several deprecation warnings that caused infinte recursion.
2012-02-19 : SPy 0.7 Released.
The kmeans algorithm is about 10 times faster than version 0.6. Many method/function names have been renamed for consistency with external packages. A few bugs potentially affecting BIP and BSQ input have been fixed.
2011-01-17 : SPy 0.6 Released.
This release adds ASTER Spectral Library support, ability to save spectral libraries, and installation via distutils.