function spifficube (obsolete)

Create a cube of a SPIFFI raw frame. The wavelength of each slitlet is shifted to one pixel accuracy. The wavelength scale is not being linearized.

Syntax
result = spifficube(inframe, [HK], [K])

Arguments
inframe:   A raw SPIFFI frame (1024 x 1024 pixels)


Switches
HK:   The shift in wavelength scale is done for the HK grism.
K:   The shift in wavelength scale is done for the K grism.


See also
function spiffiuncube
function spiffishift