|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.grelf.grip.FITS_Header
public class FITS_Header
Representing the header part of a header/data unit (HDU) loaded from a FITS file.
Constructor Summary | |
---|---|
FITS_Header()
|
Method Summary | |
---|---|
int[] |
getAxes()
|
int |
getBitpix()
|
double |
getBscale()
|
double |
getBzero()
|
Metadata |
getMetadata()
Get the list of keywords in original order as read from the file, in a new Metadata object. |
boolean |
isImageHeader()
Test whether the SIMPLE keyword is present with value "T" (in a primary header) or the XTENSION keyword is present with value "IMAGE" (in an extension header). |
boolean |
isPrimaryHeader()
|
FITS_Header |
read(java.io.DataInputStream dis,
java.lang.String fileName,
boolean primary)
Read a FITS header from the given input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FITS_Header()
Method Detail |
---|
public Metadata getMetadata()
public int[] getAxes()
public int getBitpix()
public double getBscale()
public double getBzero()
public boolean isPrimaryHeader()
public boolean isImageHeader()
public FITS_Header read(java.io.DataInputStream dis, java.lang.String fileName, boolean primary) throws java.io.IOException, NoImageException
java.io.IOException
NoImageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |