Uses of Class
nom.tam.fits.FitsException

Packages that use FitsException
nom.tam.fits The Flexible Image Transport System, used primarily for exchanging astronomical data. 
visad.data.fits Provides for importing a FITS dataset into VisAD. 
 

Uses of FitsException in nom.tam.fits
 

Subclasses of FitsException in nom.tam.fits
 class BadHeaderException
          This exception indicates that an error was detected while parsing a FITS header record.
 class HeaderCardException
           
 class TruncatedFileException
          This exception is thrown when an EOF is detected in the middle of an HDU.
 

Methods in nom.tam.fits that throw FitsException
 void BinaryTableHDU.addColumn(Column col)
          Add a column to tabular data.
 void BinaryTableHDU.addColumn(Column col)
          Add a column to tabular data.
static void BinaryTableHeaderParser.addColumn(int column, Object[] col, Header myHeader)
          Add a column to the header information.
static void BinaryTableHeaderParser.addColumn(int column, Object[] col, Header myHeader)
          Add a column to the header information.
 void BinaryTable.addColumn(Object[] o)
          Add a column to the end of a table.
 void BinaryTableHDU.addColumn(Object[] data)
          Add a column without any associated header information.
 void BinaryTable.addColumn(Object[] o)
          Add a column to the end of a table.
 void BinaryTableHDU.addColumn(Object[] data)
          Add a column without any associated header information.
 void BinaryTable.addFlattenedColumn(Object o, int[] dims)
          Add a column where the data is already flattened.
 void BinaryTable.addFlattenedColumn(Object o, int[] dims)
          Add a column where the data is already flattened.
 void Fits.addHDU(BasicHDU myHDU)
          Add an HDU to the Fits object.
 void Fits.addHDU(BasicHDU myHDU)
          Add an HDU to the Fits object.
 void BinaryTable.addRow(Object[] o)
          Add a row at the end of the table.
 void BinaryTable.addRow(Object[] o)
          Add a row at the end of the table.
 Column BinaryTable.addVarData(Object[] data)
          Add a variable length column to the data.
 Column BinaryTable.addVarData(Object[] data)
          Add a variable length column to the data.
protected  void BinaryTableHeaderParser.checkLT0(int i, String errmsg)
          Check if a value is less than 0 and throw an error if so.
protected  void BinaryTableHeaderParser.checkLT0(int i, String errmsg)
          Check if a value is less than 0 and throw an error if so.
static BasicHDU HDU.create(Header header)
          Create an HDU from the supplied Header object.
static BasicHDU HDU.create(Header header)
          Create an HDU from the supplied Header object.
static BasicHDU HDU.create(Object x)
          Create an HDU which points to the given object.
static BasicHDU HDU.create(Object x)
          Create an HDU which points to the given object.
static AsciiTableHDU HDU.createAsciiTable(Object[][] x)
           
static AsciiTableHDU HDU.createAsciiTable(Object[][] x)
           
static RandomGroupsHDU HDU.createRandomGroups(Object[][] x)
           
static RandomGroupsHDU HDU.createRandomGroups(Object[][] x)
           
 void Fits.deleteHDU(int n)
          Delete an HDU from the HDU list.
 void Fits.deleteHDU(int n)
          Delete an HDU from the HDU list.
protected  void Fits.fileInit(File myFile, boolean compressed)
          Get a stream from the file and then use the stream initialization.
protected  void Fits.fileInit(File myFile, boolean compressed)
          Get a stream from the file and then use the stream initialization.
static Object[] RandomGroupsData.generateSampleRow(Header h)
           
static Object[] RandomGroupsData.generateSampleRow(Header h)
           
 int[] BasicHDU.getAxes()
           
 int[] BasicHDU.getAxes()
           
 int BasicHDU.getBitPix()
           
 int BasicHDU.getBitPix()
           
 int BasicHDU.getBlankValue()
           
 int BasicHDU.getBlankValue()
           
 Object[] BinaryTable.getColumn(int col)
          Get a given column
 Column BinaryTableHDU.getColumn(int colNumber)
          Get the header and data associated with the given column.
 Object[] BinaryTable.getColumn(int col)
          Get a given column
 Column BinaryTableHDU.getColumn(int colNumber)
          Get the header and data associated with the given column.
 Column BinaryTableHDU.getColumn(String name)
          Get the header and data information for a given column.
 Column BinaryTableHDU.getColumn(String name)
          Get the header and data information for a given column.
protected  Object BinaryTableHeaderParser.getColumnDef(int col)
          Get the format for a given column
protected  Object BinaryTableHeaderParser.getColumnDef(int col)
          Get the format for a given column
 String BinaryTableHDU.getColumnFITSType(int index)
          Get the FITS type of a column in the table.
 String BinaryTableHDU.getColumnFITSType(int index)
          Get the FITS type of a column in the table.
 String BinaryTableHDU.getColumnName(int index)
          Get the name of a column in the table.
 String BinaryTableHDU.getColumnName(int index)
          Get the name of a column in the table.
 Object BinaryTable.getElement(int i, int j)
          Get a particular element from the table.
 Object BinaryTable.getElement(int i, int j)
          Get a particular element from the table.
 String ExtensionHDU.getExtensionType()
           
 String ExtensionHDU.getExtensionType()
           
 Object BinaryTable.getFlattenedColumn(int col)
          Get a column in flattened format.
 Object BinaryTable.getFlattenedColumn(int col)
          Get a column in flattened format.
 BasicHDU Fits.getHDU(int n)
          Return the n'th HDU.
 BasicHDU Fits.getHDU(int n)
          Return the n'th HDU.
 Object[] BinaryTableHeaderParser.getModelRow()
          Create a model row for a binary table given a describing header.
 Object[] BinaryTableHeaderParser.getModelRow()
          Create a model row for a binary table given a describing header.
 Object[] BinaryTable.getRow(int row)
          Get a given row
 Object[] BinaryTable.getRow(int row)
          Get a given row
 Object BinaryTableHDU.getVarData(int col)
          Return a variable column.
 Object BinaryTableHDU.getVarData(int col)
          Return a variable column.
 Object BinaryTable.getVarData(int col, Class baseClass, boolean complex)
          Get the data from a variable length column as a two-d primitive array.
 Object BinaryTable.getVarData(int col, Class baseClass, boolean complex)
          Get the data from a variable length column as a two-d primitive array.
 Object BinaryTableHDU.getVarData(String name)
          Return a variable column.
 Object BinaryTableHDU.getVarData(String name)
          Return a variable column.
 void Fits.insertHDU(BasicHDU myHDU, int n)
          Insert a FITS object into the list of HDUs.
 void Fits.insertHDU(BasicHDU myHDU, int n)
          Insert a FITS object into the list of HDUs.
static void Fits.main(String[] args)
           
static void Fits.main(String[] args)
           
 Column BinaryTableHDU.makeVarColumn(Object[] data)
          Create a variable column from the supplied data.
 Column BinaryTableHDU.makeVarColumn(Object[] data)
          Create a variable column from the supplied data.
 Column BinaryTableHDU.makeVarColumn(Object[] data, String type)
          Create a variable column from the supplied data.
 Column BinaryTableHDU.makeVarColumn(Object[] data, String type)
          Create a variable column from the supplied data.
 Column BinaryTableHDU.makeVarColumn(Object[] data, String type, String[] keys)
          Create a variable column from the supplied data.
 Column BinaryTableHDU.makeVarColumn(Object[] data, String type, String[] keys)
          Create a variable column from the supplied data.
 Data BinaryTableHDU.manufactureData()
          Create a Data object to correspond to the header description.
 Data ImageHDU.manufactureData()
          Create a Data object to correspond to the header description.
 Data PrimaryHDU.manufactureData()
          Create a Data object to correspond to the header description.
 Data RandomGroupsHDU.manufactureData()
          Create a FITS Data object corresponding to this HDU header.
 Data BinaryTableHDU.manufactureData()
          Create a Data object to correspond to the header description.
 Data ImageHDU.manufactureData()
          Create a Data object to correspond to the header description.
 Data PrimaryHDU.manufactureData()
          Create a Data object to correspond to the header description.
 Data RandomGroupsHDU.manufactureData()
          Create a FITS Data object corresponding to this HDU header.
 void Header.pointToData(Data o)
          Create keywords such that this Header describes the given data.
 void Header.pointToData(Data o)
          Create keywords such that this Header describes the given data.
protected  void Header.pointToImage(Object o)
          Create keywords such that this header describes the given image data.
protected  void Header.pointToImage(Object o)
          Create keywords such that this header describes the given image data.
static Header BinaryTableHeaderParser.pointToTable(BinaryTable table)
          Make the header describe the a table where we give only.
static Header BinaryTableHeaderParser.pointToTable(BinaryTable table)
          Make the header describe the a table where we give only.
static Header BinaryTableHeaderParser.pointToTable(BinaryTable table, Header myHeader)
          Make the header describe a specified table and included existing header information.
static Header BinaryTableHeaderParser.pointToTable(BinaryTable table, Header myHeader)
          Make the header describe a specified table and included existing header information.
 BasicHDU[] Fits.read()
          Return all HDUs for the Fits object.
 BasicHDU[] Fits.read()
          Return all HDUs for the Fits object.
 void BinaryTable.read(BufferedDataInputStream i)
           
 void Data.read(BufferedDataInputStream i)
          Read a data array into the current object and if needed position to the beginning of the next FITS block.
 void BinaryTable.read(BufferedDataInputStream i)
           
 void Data.read(BufferedDataInputStream i)
          Read a data array into the current object and if needed position to the beginning of the next FITS block.
 void Fits.read(InputStream is)
          Read a FITS file from an InputStream object.
 void Fits.read(InputStream is)
          Read a FITS file from an InputStream object.
 void AsciiTableHDU.readData(BufferedDataInputStream stream)
          Skip the ASCII table and throw an exception.
 void BasicHDU.readData(BufferedDataInputStream stream)
          Read in the Data object for this HDU.
 void AsciiTableHDU.readData(BufferedDataInputStream stream)
          Skip the ASCII table and throw an exception.
 void BasicHDU.readData(BufferedDataInputStream stream)
          Read in the Data object for this HDU.
 BasicHDU Fits.readHDU()
          Read the next HDU on the default input stream.
 BasicHDU Fits.readHDU()
          Read the next HDU on the default input stream.
static BasicHDU HDU.readHDU(BufferedDataInputStream stream)
          Read an HDU.
static BasicHDU HDU.readHDU(BufferedDataInputStream stream)
          Read an HDU.
protected  void BinaryTable.readTrueData(BufferedDataInputStream i)
           
protected  void Data.readTrueData(BufferedDataInputStream i)
          Read in the actual data portion.
protected  void BinaryTable.readTrueData(BufferedDataInputStream i)
           
protected  void Data.readTrueData(BufferedDataInputStream i)
          Read in the actual data portion.
 void BinaryTable.setColumn(int col, Object[] xcol)
          Replace a column in the table.
 void BinaryTable.setColumn(int col, Object[] xcol)
          Replace a column in the table.
 void BinaryTable.setElement(int i, int j, Object o)
          Replace a single element within the table.
 void BinaryTable.setElement(int i, int j, Object o)
          Replace a single element within the table.
 void BinaryTable.setFlattenedColumn(int col, Object data)
          Set a column with the data already flattened.
 void BinaryTable.setFlattenedColumn(int col, Object data)
          Set a column with the data already flattened.
 void BinaryTable.setRow(int row, Object[] data)
          Replace a row in the table.
 void BinaryTable.setRow(int row, Object[] data)
          Replace a row in the table.
 int Fits.size()
          Return the number of HDUs in the Fits object.
 int Fits.size()
          Return the number of HDUs in the Fits object.
 void Fits.skipHDU()
          Skip the next HDU on the default input stream.
 void Fits.skipHDU()
          Skip the next HDU on the default input stream.
static boolean HDU.skipHDU(BufferedDataInputStream input)
          Skip an HDU
static boolean HDU.skipHDU(BufferedDataInputStream input)
          Skip an HDU
 void Fits.skipHDU(int n)
          Skip HDUs on the associate input stream.
 void Fits.skipHDU(int n)
          Skip HDUs on the associate input stream.
protected  void Fits.streamInit(InputStream str, boolean compressed)
          Do the stream initialization.
protected  void Fits.streamInit(InputStream str, boolean compressed)
          Do the stream initialization.
 void BasicHDU.write(BufferedDataOutputStream stream)
           
 void BinaryTable.write(BufferedDataOutputStream os)
           
 void Data.write(BufferedDataOutputStream o)
          Write the data -- including any buffering needed
 void Header.write(BufferedDataOutputStream dos)
          Write the current header (including any needed padding) to the output stream.
 void BasicHDU.write(BufferedDataOutputStream stream)
           
 void BinaryTable.write(BufferedDataOutputStream os)
           
 void Data.write(BufferedDataOutputStream o)
          Write the data -- including any buffering needed
 void Header.write(BufferedDataOutputStream dos)
          Write the current header (including any needed padding) to the output stream.
 void Fits.write(OutputStream os)
          Write a Fits Object to an external Stream.
 void Fits.write(OutputStream os)
          Write a Fits Object to an external Stream.
protected  void BinaryTable.writeTrueData(BufferedDataOutputStream o)
          Write the data including any hash data.
protected  void Data.writeTrueData(BufferedDataOutputStream o)
          Write only the actual data.
protected  void BinaryTable.writeTrueData(BufferedDataOutputStream o)
          Write the data including any hash data.
protected  void Data.writeTrueData(BufferedDataOutputStream o)
          Write only the actual data.
 

Constructors in nom.tam.fits that throw FitsException
A3DTableHDU(Header header)
          Deprecated.  
A3DTableHDU(Header header)
          Deprecated.  
AsciiTableHDU(Header header)
          Create an ascii table header/data unit.
AsciiTableHDU(Header header)
          Create an ascii table header/data unit.
BinaryTable()
          Create a null binary table data segment.
BinaryTable()
          Create a null binary table data segment.
BinaryTable(Header myHeader)
          Create a binary table from given header information.
BinaryTable(Header myHeader)
          Create a binary table from given header information.
BinaryTable(Object[][] data)
          Create a binary table from existing data in row order.
BinaryTable(Object[][] data)
          Create a binary table from existing data in row order.
BinaryTableHDU()
          Build an empty binary table HDU.
BinaryTableHDU()
          Build an empty binary table HDU.
BinaryTableHDU(Header header)
          Create a binary table header/data unit.
BinaryTableHDU(Header header)
          Create a binary table header/data unit.
BinaryTableHDU(Object[][] table)
          Build a binary table HDU from the supplied data.
BinaryTableHDU(Object[][] table)
          Build a binary table HDU from the supplied data.
BinaryTableHeaderParser(Header myHeader)
          Parse an existing header.
BinaryTableHeaderParser(Header myHeader)
          Parse an existing header.
Fits(File myFile)
          Associate FITS object with an uncompressed File
Fits(File myFile)
          Associate FITS object with an uncompressed File
Fits(File myFile, boolean compressed)
          Associate the Fits object with a File
Fits(File myFile, boolean compressed)
          Associate the Fits object with a File
Fits(InputStream str)
          Create a Fits object associated with the given uncompressed data stream.
Fits(InputStream str)
          Create a Fits object associated with the given uncompressed data stream.
Fits(InputStream str, boolean compressed)
          Create a Fits object associated with a possibly compressed data stream.
Fits(InputStream str, boolean compressed)
          Create a Fits object associated with a possibly compressed data stream.
Fits(String filename)
          Associate the FITS object with a file or URL.
Fits(String filename)
          Associate the FITS object with a file or URL.
Fits(URL myURL)
          Associate the FITS object with a given uncompressed URL
Fits(URL myURL)
          Associate the FITS object with a given uncompressed URL
Fits(URL myURL, boolean compressed)
          Associate the FITS object with a given URL
Fits(URL myURL, boolean compressed)
          Associate the FITS object with a given URL
FitsDate(String dStr)
          Convert a FITS date string to a Java Date object.
FitsDate(String dStr)
          Convert a FITS date string to a Java Date object.
ImageData(Header h)
          Create an array from a header description.
ImageData(Header h)
          Create an array from a header description.
ImageHDU(Header header)
          Create an image header/data unit.
ImageHDU(Header header)
          Create an image header/data unit.
ImageHDU(Object obj)
          Build an image HDU using the supplied data.
ImageHDU(Object obj)
          Build an image HDU using the supplied data.
ImageHDU(PrimaryHDU primary)
          Build an image HDU from a RandomGroupsHDU.
ImageHDU(PrimaryHDU primary)
          Build an image HDU from a RandomGroupsHDU.
PrimaryHDU()
          Build an empty primary HDU.
PrimaryHDU()
          Build an empty primary HDU.
PrimaryHDU(Header header)
          Create a primary array unit.
PrimaryHDU(Header header)
          Create a primary array unit.
PrimaryHDU(ImageHDU img)
          Build a primary HDU from an image HDU.
PrimaryHDU(ImageHDU img)
          Build a primary HDU from an image HDU.
PrimaryHDU(Object obj)
          Build a primary HDU using the supplied data.
PrimaryHDU(Object obj)
          Build a primary HDU using the supplied data.
RandomGroupsData(Header h)
          Create a random groups array from a header description.
RandomGroupsData(Header h)
          Create a random groups array from a header description.
RandomGroupsHDU(Header myHeader)
           
RandomGroupsHDU(Header myHeader)
           
RandomGroupsHDU(Object[][] data)
           
RandomGroupsHDU(Object[][] data)
           
TableHDU(Header header)
          Build a table from the specified FITS header.
TableHDU(Header header)
          Build a table from the specified FITS header.
 

Uses of FitsException in visad.data.fits
 

Methods in visad.data.fits that throw FitsException
static void DumpHeader.dump(PrintStream ps, String name)
           
static void DumpHeader.dump(PrintStream ps, String name)