Class Fits

java.lang.Object
  |
  +--Fits

public class Fits
extends java.lang.Object


Field Summary
private  FitsDialog parent
           
 
Constructor Summary
Fits(FitsDialog parent)
          Default constructor.
 
Method Summary
(package private) static void ()
           
 void Cwrite_fits_data(java.lang.String filename, int mem_fd, int rows, int cols, java.lang.String[] header, int bytes)
           
 void write_fits_file(java.lang.String fits_filename, int data_fd, int rows, int cols, int bytes)
          Writes the image bytes specified by the file descriptor to the file specified by filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

parent

private FitsDialog parent
Constructor Detail

Fits

public Fits(FitsDialog parent)
Default constructor.
Method Detail

Cwrite_fits_data

public void Cwrite_fits_data(java.lang.String filename,
                             int mem_fd,
                             int rows,
                             int cols,
                             java.lang.String[] header,
                             int bytes)

static void ()

write_fits_file

public void write_fits_file(java.lang.String fits_filename,
                            int data_fd,
                            int rows,
                            int cols,
                            int bytes)
                     throws java.io.FileNotFoundException,
                            java.io.IOException
Writes the image bytes specified by the file descriptor to the file specified by filename.
Parameters:
fits_filename - The name of the FITS file to be created.
data_fd - The raw image data file descriptor.
bytes - The number of image data bytes.
Throws:
java.io.FileNotFoundException - System could not create the file.
java.io.IOException - System could not write to the file.