Class FITSFile
java.lang.Object
org.episteme.core.io.AbstractDataFile
org.episteme.natural.physics.loaders.fits.FITSFile
- All Implemented Interfaces:
AutoCloseable, DataFile
Represents a FITS (Flexible Image Transport System) file.
Compliant with FITS Standard 4.0.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMatrix()Reads the primary image HDU as a Matrix.Returns a description of the file format version or standard (e.g.Methods inherited from class AbstractDataFile
close, getChannel, getPath, isChannelOpen, open
-
Constructor Details
-
FITSFile
-
-
Method Details
-
getFormatDescription
-
asMatrix
Reads the primary image HDU as a Matrix.Scans the file for the first valid ImageHDU and returns its content.
- Returns:
- the image data as a RealDoubleMatrix
- Throws:
IOException- if no image found or read error
-