public class RawFitsReader extends FitsReader.Default implements FitsReader
| Modifier and Type | Class and Description |
|---|---|
class |
RawFitsReader.FitsSlice
The Class FitsSlice.
|
class |
RawFitsReader.FitsVolume
The Class FitsVolume.
|
FitsReader.Default| Constructor and Description |
|---|
RawFitsReader(java.lang.String filename,
boolean verbose)
Instantiates a new raw fits reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finalize() |
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.
|
static void |
main(java.lang.String[] args)
The main method.
|
getColumn, getLine, getRow, getSlice, getVolumepublic RawFitsReader(java.lang.String filename,
boolean verbose)
throws nom.tam.fits.common.FitsException,
java.io.IOException
filename - the filenameverbose - the verbosenom.tam.fits.common.FitsException - the fits exceptionjava.io.IOException - Signals that an I/O exception has occurred.public void finalize()
finalize in class java.lang.Objectpublic usf.saav.common.range.IntRange1D[] getAxesSize()
FitsReadergetAxesSize in interface FitsReaderpublic java.io.File getFile()
FitsReadergetFile 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.public static void main(java.lang.String[] args)
args - the arguments