Class HeaderCard

java.lang.Object
org.episteme.natural.physics.loaders.fits.HeaderCard

public class HeaderCard extends Object
Represents a single card in a FITS header.

A card consists of a keyword (8 chars), a value indicator ("= "), a value, and an optional comment.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • HeaderCard

      public HeaderCard(String raw)
  • Method Details

    • getKeyword

      public String getKeyword()
    • getValue

      public String getValue()
    • getComment

      public String getComment()
    • getValueAsInt

      public int getValueAsInt(int defaultValue)
    • getValueAsLong

      public long getValueAsLong(long defaultValue)
    • getValueAsDouble

      public double getValueAsDouble(double defaultValue)
    • getValueAsString

      public String getValueAsString()
    • toString

      public String toString()
      Overrides:
      toString in class Object