Class OptimizedImageHDU
java.lang.Object
org.episteme.natural.physics.loaders.fits.HDU
org.episteme.natural.physics.loaders.fits.ImageHDU
org.episteme.nativ.physics.loaders.fits.OptimizedImageHDU
Optimized version of ImageHDU that uses Panama-based native reader for zero-copy access.
- Since:
- 1.1
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasNativeRealDoubleMatrixStorage(Path path, Arena arena) Reads image data directly into a NativeRealDoubleMatrixStorage using cfitsio.Methods inherited from class ImageHDU
asMatrix, getDataSize
-
Constructor Details
-
OptimizedImageHDU
-
-
Method Details
-
asNativeRealDoubleMatrixStorage
public NativeRealDoubleMatrixStorage asNativeRealDoubleMatrixStorage(Path path, Arena arena) throws IOException Reads image data directly into a NativeRealDoubleMatrixStorage using cfitsio.- Parameters:
path- the path to the FITS filearena- the arena for the result matrix- Returns:
- the native matrix containing image data
- Throws:
IOException- if an error occurs
-