Class Header
java.lang.Object
org.episteme.natural.physics.loaders.fits.Header
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCard(HeaderCard card) getCards()doublegetDoubleValue(String keyword, double defaultValue) intgetIntValue(String keyword, int defaultValue) longgetLongValue(String keyword, long defaultValue) getStringValue(String keyword) static Headerread(ReadableByteChannel channel) Reads a logical header block from the channel.
-
Constructor Details
-
Header
public Header()
-
-
Method Details
-
addCard
-
getCard
-
getIntValue
-
getLongValue
-
getDoubleValue
-
getStringValue
-
getCards
-
read
Reads a logical header block from the channel. FITS headers are padded to 2880 bytes.- Parameters:
channel- input channel- Returns:
- the parsed Header
- Throws:
IOException
-