public class RandomGroupsHDU extends BasicHDU<RandomGroupsData>
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT, isPrimary, myData, myHeader| Constructor and Description |
|---|
RandomGroupsHDU(Header header,
RandomGroupsData data)
Create an HDU from the given header and data .
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBePrimary() |
static RandomGroupsData |
encapsulate(Object o) |
void |
info(PrintStream stream)
Print out some information about this HDU.
|
static boolean |
isData(Object potentialData)
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) |
static RandomGroupsData |
manufactureData(Header header) |
protected void |
setPrimaryHDU(boolean status)
Move a RandomGroupsHDU to or from the beginning of a FITS file.
|
addValue, addValue, addValue, addValue, addValue, addValue, addValue, addValue, card, 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, getTrimmedString, read, reset, rewrite, rewriteable, saveReplaceCard, writepublic RandomGroupsHDU(Header header, RandomGroupsData data)
header - header to usedata - data to usepublic static RandomGroupsData encapsulate(Object o) throws FitsException
FitsExceptionpublic static boolean isData(Object potentialData)
potentialData - data to checkpublic static boolean isHeader(Header hdr)
hdr - The header to be tested.public static RandomGroupsData manufactureData(Header header) throws FitsException
header - header for the data creationFitsException - if the operation failedprotected boolean canBePrimary()
public void info(PrintStream stream)
BasicHDUinfo in class BasicHDU<RandomGroupsData>stream - the printstream to write the info onpublic boolean isHeader()
true if this HDU has a valid header.protected void setPrimaryHDU(boolean status)
throws FitsException
status - true if the header should be primaryFitsException - if the operation failedCopyright © 1996–2018 nom-tam-fits. All rights reserved.