|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnom.tam.fits.HDU
Methods to read/write FITS Header/Data unit (HDU). This class is generally used either to get access to the Header and Data objects, or to perform manipulations which affect both the Header and Data.
| Constructor Summary | |
HDU()
|
|
| Method Summary | |
static BasicHDU |
create(Header header)
Create an HDU from the supplied Header object. |
static BasicHDU |
create(Object x)
Create an HDU which points to the given object. |
static AsciiTableHDU |
createAsciiTable(Object[][] x)
|
static RandomGroupsHDU |
createRandomGroups(Object[][] x)
|
static BasicHDU |
readHDU(BufferedDataInputStream stream)
Read an HDU. |
static boolean |
skipHDU(BufferedDataInputStream input)
Skip an HDU |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HDU()
| Method Detail |
public static BasicHDU create(Object x)
throws FitsException
x - The data to which the HDU points.
FitsException - if the HDU could not be created.
public static RandomGroupsHDU createRandomGroups(Object[][] x)
throws FitsException
FitsException
public static AsciiTableHDU createAsciiTable(Object[][] x)
throws FitsException
FitsException
public static BasicHDU create(Header header)
throws FitsException
header - the Header for the HDU to be created.
FitsException - if the HDU could not be created.
public static BasicHDU readHDU(BufferedDataInputStream stream)
throws FitsException,
IOException
stream - The data stream the FITS data is to be found on.
FitsException - if there was a problem with the data.
IOException
public static boolean skipHDU(BufferedDataInputStream input)
throws FitsException,
IOException
FitsException - if the data could not be skipped.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||