Spectralpython Spectral Versions Save

Python module for hyperspectral image processing

0.23.1

1 year ago

SPy 0.23.1

Release date: 2022.10.02

Bug Fixes

  • [#143] Eigen{values,vectors} in a GaussianStats weren't sorted in descending order, which is inconsistent with PrincipalComponents.
  • [#144] SpyFile.load was failing on Windows because numpy versions there did not support complex256.
  • [#145] unmix was failing, due to an invalid reference to "np.inv"

0.23

1 year ago

SPy 0.23

Release date: 2022.09.09

Changes

  • calc_stats and mean_cov produce consistent results for 2D input
  • [#135] Complex data types in ENVI files are not converted to scalars

Bug Fixes

  • [#142] Fixed incorrect outer window mean for rx, ace, and matched_filter
  • [#136, #140] Avoid deprecation warnings

0.22.4

2 years ago

SPy 0.22.4

Release date: 2021.10.05

Bug Fixes

  • [#3] Using np.int8 for spy_colors caused invalid (negative) color values

0.22.3

2 years ago

SPy 0.22.3

Release date: 2021.10.01

Bug Fixes

  • [#127] Use any instead of not for sequence logic
  • [#123,#124] Fixed Matplotlib deprecation warnings
  • [#130] Fix deprecation warnings caused by np.int and np.float
  • Fixed several missing imports leftover from code refactoring

0.22.2

3 years ago

SPy 0.22.2

Release date: 2021.03.31

Bug Fixes

  • [#118] Avoid Matplotlib deprecation warning.

0.22.1

3 years ago

Release date: 2020.08.02

Bug Fixes

  • Spectral database unit test files were not included with package files

0.22

3 years ago

Release date: 2020.08.01

New Features (thanks to @kormang)

  • Continuum computation and removal

    • See functions spectral_continuum, remove_continuum, continuum_points
  • Support for USGS spectral library (spectral.USGSDatabase)

  • SMACC algorithm for endmember extraction (spectral.algorithms.smacc)

Bug Fixes

  • [Issue #113] orthogonalize was broken in release 0.21.

0.21

4 years ago

Spectral Python (SPy) 0.21

Release date: 2020.04.26

Changes

  • As of version 0.21, Spectral Python (SPy) is released uder the MIT License.

  • Switched most console print statements to logging statements for finer control of module output.

  • Cleaned up a lot of code to put imports at module (file) level.

Bug Fixes

  • [Issue #99] matplotlib's "cmap" keyword now works again with spy.imshow.

  • [Issue #102] Creating a SpectralLibrary no longer fails when some optional band parameters are not provided.

0.20

4 years ago

Spectral Python 0.20

Release date: 2019.10.06

New Features

  • Support for ECOSTRESS spectral library (supercedes ASTER library).

  • Accept "mask" and "bg" keywords in imshow and get_rgb (affects color scaling).

  • Denoising methods added to PrincipalComponents (issue #91) added by @gemmaellen.

  • Added "raw" to list of checked ENVI data file extensions.

Changes

  • Increase speed of spectral_angles computation by ~30x using einsum.

  • Eliminate tostring deprecation warnings by migrating to tobytes.

Bug Fixes

  • Support parsing ENV bbl values as floats (issue #67).

  • Removed "scale" keyword to handle TransformedImage objects in envi.save_image (issue #83).

v0.19

7 years ago

New Features

  • Rendering functions accept an "ignore" keyword to indicate a bad data value that will be ignored when calculating color histogram stretches.

  • Added iterator_ij to iterate over all pixel coordinates for a given image mask.

  • Added expand_binary_mask_for_window to expand an image mask to include all pixels within a fixed size window around each masked pixel.

  • Added support for bad band lists (bbl) in ENVI headers and suppress display of bad bands in spectral plots

  • Added optional support for non-lowercase ENVI header parameter names (issue #63).

Changes

  • principal_components also accepts a GaussianStats object, which can avoid the need to recompute image/class statistics.

  • Added a SpyException base class for package-specific exceptions.

  • Added "raw" to the list of checked ENVI image data file extensions.

Bug Fixes

  • Fixed a bug that potentially produced incorrect results in map_class_ids (issue #53).

  • Removed unecessary import that cause python3 compatibility error in aviris.open (issue #54).

  • Removed has_key call breaking python3 compatibility (issue #56).