Skip to contents

Flatten a spectral cube into a pixel-by-band matrix

Usage

cube_to_matrix(x)

Arguments

x

3-D array or FITS-like list with imDat.

Value

Numeric matrix with one row per spatial pixel and one column per band.