There is a newer version of the record available.

Published June 18, 2016 | Version v0.18
Software Open

Spectral Python 0.18

Description

Spectral Python (SPy) is a pure Python module for processing hyperspectral image data (imaging spectroscopy data). 

Description of version 0.18:

Changes

  • Improved handling of ENVI header files:

    • If "header offset" is missing, assume the offset is 0.

    • Stricter check for "ENVI" in the first line of the file.

    • [Issue #42] More-informative exceptions are raised when a problem is encountered while reading and ENVI header.

    • [Issue #46] No longer defaulting band_quantity to "Wavelength".

Bug Fixes

  • [Issue #38 and #39] The tostring method has been deprecated in newer versions of PIL/Pillow. Using tobytes now and falling back to tostring if it fails.

  • [Issue #40] An exception was raised when trying to get a pixel's row/col by CTRL-SHIFT-clicking in the ND window display.

  • [Issue #44] Matplotlib was being set to interactive mode even if no SPy windows were displayed. This would affect behavior of other code using Matplotlib. Interactive mode is now set only once the first display is requested.

  • [Issue #49] GaussianClassifier and MahalanobisDistanceClassifier method classify_image was failing when applied to an object that was not a numpy.ndarray (e.g., a SpyFile or TransformedImage).

Files

spectral-v0.18.zip

Files (191.9 kB)

Name Size Download all
md5:397da22edb6315f31971939950d820d0
191.9 kB Preview Download

Additional details

Related works