eap.fits
Class FitsASCIIColumn
java.lang.Object
eap.fits.FitsColumn
eap.fits.FitsASCIIColumn
- public class FitsASCIIColumn
- extends FitsColumn
represents a column in an ASCII table extension
Constructor Summary |
FitsASCIIColumn(FitsHeader header,
int col)
Create a new column object which will represent the given column in the given
FITS header. |
Method Summary |
int |
getDecimals()
Returns the number of decimal places used to represent floating point
numbers in this column. |
int |
getStartByte()
Returns the byte offset of the first byte in this column with respect to
the beginning of a row. |
Methods inherited from class eap.fits.FitsColumn |
getCount, getElementSize, getName, getUnits, getWidth, isScaled, rawRepresentation, represent, represent, represent, represent, represent, represent, represent, represent, represent, scale, scaledRepresentation, unscale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FitsASCIIColumn
public FitsASCIIColumn(FitsHeader header,
int col)
throws FitsException
- Create a new column object which will represent the given column in the given
FITS header.
- Parameters:
header
- A FITS header describing the columncol
- the column to read from the FITS file. Note: this value counts
from "1" unlike most other column indices in this package.
getStartByte
public int getStartByte()
- Returns the byte offset of the first byte in this column with respect to
the beginning of a row.
- Returns:
- the byte offset of this column.
getDecimals
public int getDecimals()
- Returns the number of decimal places used to represent floating point
numbers in this column.
- Returns:
- the number of decimal places in this column or zero if this is not
a floating point column.