public class RandomGroupsHDU extends BasicHDU
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT, isPrimary, myData, myHeader
Constructor and Description |
---|
RandomGroupsHDU(Header h,
Data d)
Create an HDU from the given header and data
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBePrimary()
Indicate that a RandomGroupsHDU can come at
the beginning of a FITS file.
|
static Data |
encapsulate(Object o) |
void |
info()
Display structural information about the current HDU.
|
static boolean |
isData(Object oo)
Check if this data is compatible with Random Groups structure.
|
boolean |
isHeader()
Check that this HDU has a valid header.
|
static boolean |
isHeader(Header hdr)
Is this a random groups header?
|
Data |
manufactureData()
Create a FITS Data object corresponding to
this HDU header.
|
static Data |
manufactureData(Header hdr)
Create FITS data object corresponding to a given header.
|
protected void |
setPrimaryHDU(boolean status)
Move a RandomGroupsHDU to or from the beginning
of a FITS file.
|
addValue, addValue, addValue, addValue, getAuthor, getAxes, getBitPix, getBlankValue, getBScale, getBUnit, getBZero, getCreationDate, getData, getDummyHDU, getEpoch, getEquinox, getFileOffset, getGroupCount, getHeader, getInstrument, getKernel, getMaximumValue, getMinimumValue, getObject, getObservationDate, getObserver, getOrigin, getParameterCount, getReference, getSize, getTelescope, getTrimmedString, read, readData, rewrite, rewriteable, skipData, skipData, write
protected boolean canBePrimary()
protected void setPrimaryHDU(boolean status)
public static boolean isHeader(Header hdr)
myHeader
- The header to be tested.public boolean isHeader()
true
if this HDU has a valid header.public static boolean isData(Object oo)
public Data manufactureData() throws FitsException
FitsException
- if the Data object could not be created
from this HDU's Headerpublic static Data manufactureData(Header hdr) throws FitsException
FitsException
public static Data encapsulate(Object o) throws FitsException
FitsException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.