spectral icon indicating copy to clipboard operation
spectral copied to clipboard

Python module for hyperspectral image processing

Results 30 spectral issues
Sort by recently updated
recently updated
newest added

SPy is currently developed for python 2.{6,7}. This enhancement will add support for python3. The current plan is to have a single code base that works for both python 2...

enhancement

It would be great to support these optional header fields according to ENVI documentation: http://www.exelisvis.com/docs/EnterOptionalHeaderInformation.html#Set3 It's not going to be easy with the current memmap implementation.

enhancement

There was a bug introduced with #135 relating to complex data types on windows. Windows does not have the complex256 dtype which causes this line to fail: Line 199 in...

The `PrincipalComponents` object returned by the `principal_components` function has eigenvalues in descending order; however, the `principal_components` attribute of the `GaussianStats` object returned by `calc_stats` is in ascending order. The latter...

@toaarnio @tboggs @donm @lewismc I am trying to visualize my hypercube data using `spectral` package and I follow the commands in the [main page][1] of spectral by `ipython --pylab=wx` and...

Loads basic info, does not load type, class and subclass some code using ignorefiles is not needed

Sometimes, we may get a singular matrix as the covariance. The [inv_cov](https://github.com/spectralpython/spectral/blob/0659ee71614455d99a80ffd4f5f5edd8d032608c/spectral/algorithms/algorithms.py#L746C7-L751) won't work. Is it correct to use `np.linalg.pinv` instead of `np.linalg.inv` for this kind of case?

The kernel matched filter (KMF) is defined in [Kwon & Nasrabadi (2007)](https://doi.org/10.1007/s11263-006-6689-3). Briefly, Given kernel function and target/background matrix, the KMFresponse is given by: ```math \begin{align} y(\hat{k}_r) = \frac{\hat{k}_t^T \hat{K}^{-2}...

Is there a way to add a legend to the imshow window (and zoom window)?