@@ -0,0 +1,663 @@
+#%0A%0Aimport numpy as np%0A%0A%0A%0Adef _inverse_covariance(spectral_array):%0A    %22%22%22 which is used in various GatorSense hyperspectral tools%0A            (https://github.com/GatorSense/hsi_toolkit_py)%0A%0A            Inputs:%0A                spectral_array      = Hyperspectral data instance%0A%0A            Returns:%0A                inverse_covariance  = Inverse covariance matrix of a hyperspectral datacube%0A%0A            :param spectral_array: __main__.Spectral_data%0A            :return inverse_covariance: numpy array%0A            %22%22%22%0A%0A    hsi_data = spectral_array.array_data%0A    inverse_covariance = np.linalg.pinv(np.cov(hsi_data.T, rowvar=False))%0A    return inverse_covariance%0A

Create _inverse_covariance.py