WriteTo3DFitsFile
CameraAPI.WriteTo3DFitsFile( handle, bytes, image_number, offset );
int handle The handle to a previously created and open FITS data cube. The return value from Create3DFitsFile().
int bytes The number of bytes to write to the file.
int image_number The image number within the data cube. Image numbers start at 0.
int offset The number of bytes to skip within the primary image buffer before reading data to write to the file. Typically set to 0.
None
Writes data from the primary image buffer to a FITS data cube that was previously opened with Create3DFitsFile(). Throws java.lang.Exception if an error occurs. All exceptions can be caught using a try/catch block.