sunkitsst.read_cubes(imfile, spfile=False, memmap=True, n_wave=None)[source] [edit on github]
Parameters: imfile (string) – A filepath to the imcube file. spfile (string) – A filepath to the spcube file. memmap (Bool) – If True, will use memmap (default) in order to save your RAM. n_wave (int) – If known (and not using spfile specify the number of wavelength point to reconstruct the full cube shape. im_header (dictonary) – This is the header for the imcube file. im_cube (array) – This is the numpy array of the data from the imcube file. sp_header (dictonary) – This is the header for the spcube file. sp_cube (array) – This is the numpy array of the data from the spcube file.