public class FITS_Header
extends java.lang.Object
Constructor and Description |
---|
FITS_Header() |
Modifier and Type | Method and Description |
---|---|
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.
|
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