spectralpython / spectral

Python module for hyperspectral image processing
MIT License
574 stars 139 forks source link

principal_components attribute of calc_stats return is inconsistent with principal_components call #143

Closed tboggs closed 2 years ago

tboggs commented 2 years ago

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 should be made consistent with the former.