public class CachedFitsReader extends FitsReader.Default implements FitsReader
FitsReader.Default| Constructor and Description |
|---|
CachedFitsReader(FitsReader reader,
boolean verbose)
Instantiates a new cached fits reader.
|
| Modifier and Type | Method and Description |
|---|---|
usf.saav.common.range.IntRange1D[] |
getAxesSize()
Gets the axes size.
|
ScalarField1D |
getColumn(int x,
usf.saav.common.range.IntRange1D y_range,
int z,
int w)
Gets the column.
|
float |
getElement(int x,
int y,
int z,
int w)
Gets the element.
|
java.io.File |
getFile()
Gets the file.
|
ScalarField1D |
getLine(int x,
int y,
usf.saav.common.range.IntRange1D z_range,
int w)
Gets the line.
|
ScalarField1D |
getRow(usf.saav.common.range.IntRange1D x_range,
int y,
int z,
int w)
Gets the row.
|
ScalarField2D |
getSlice(usf.saav.common.range.IntRange1D x_range,
usf.saav.common.range.IntRange1D y_range,
int z,
int w)
Gets the slice.
|
ScalarField3D |
getVolume(usf.saav.common.range.IntRange1D x_range,
usf.saav.common.range.IntRange1D y_range,
usf.saav.common.range.IntRange1D z_range,
int w)
Gets the volume.
|
getColumn, getLine, getRow, getSlice, getVolumepublic CachedFitsReader(FitsReader reader, boolean verbose)
reader - the readerverbose - the verbosepublic java.io.File getFile()
FitsReadergetFile in interface FitsReaderpublic usf.saav.common.range.IntRange1D[] getAxesSize()
FitsReadergetAxesSize in interface FitsReaderpublic float getElement(int x,
int y,
int z,
int w)
FitsReadergetElement in interface FitsReaderx - the xy - the yz - the zw - the wpublic ScalarField1D getRow(usf.saav.common.range.IntRange1D x_range, int y, int z, int w) throws java.io.IOException
FitsReadergetRow in interface FitsReaderx_range - the x rangey - the yz - the zw - the wjava.io.IOException - Signals that an I/O exception has occurred.public ScalarField1D getColumn(int x, usf.saav.common.range.IntRange1D y_range, int z, int w) throws java.io.IOException
FitsReadergetColumn in interface FitsReaderx - the xy_range - the y rangez - the zw - the wjava.io.IOException - Signals that an I/O exception has occurred.public ScalarField1D getLine(int x, int y, usf.saav.common.range.IntRange1D z_range, int w) throws java.io.IOException
FitsReadergetLine in interface FitsReaderx - the xy - the yz_range - the z rangew - the wjava.io.IOException - Signals that an I/O exception has occurred.public ScalarField2D getSlice(usf.saav.common.range.IntRange1D x_range, usf.saav.common.range.IntRange1D y_range, int z, int w) throws java.io.IOException
FitsReadergetSlice in interface FitsReaderx_range - the x rangey_range - the y rangez - the zw - the wjava.io.IOException - Signals that an I/O exception has occurred.public ScalarField3D getVolume(usf.saav.common.range.IntRange1D x_range, usf.saav.common.range.IntRange1D y_range, usf.saav.common.range.IntRange1D z_range, int w) throws java.io.IOException
FitsReadergetVolume in interface FitsReaderx_range - the x rangey_range - the y rangez_range - the z rangew - the wjava.io.IOException - Signals that an I/O exception has occurred.