CreateFitsFile
CameraAPI.CreateFitsFile( filename, rows, cols, bits-per-pixel );
String filename The filename of the FITS file to create.
int rows The image row size.
int cols The image column size.
int bits-per-pixel The number of bits-per-pixel. Typically 16 for ccds and 32 for infrared cameras.
int - A handle to the newly created FITS file.
Create a FITS file that persists until closed by CloseFitsFile(). Data can be written to the file using WriteToFitsFile(). Throws java.lang.Exception if an error occurs. All exceptions can be caught using a try/catch block.