R/cube_to_matrix.R
cube_to_matrix.Rd
Flatten a spectral cube into a pixel-by-band matrix
cube_to_matrix(x)
3-D array or FITS-like list with imDat.
imDat
Numeric matrix with one row per spatial pixel and one column per band.