int |
AsciiTable.addColumn(java.lang.Object newCol) |
|
int |
AsciiTable.addColumn(java.lang.Object newCol,
int length) |
This version of addColumn allows the user to override the default length
associated with each column type.
|
int |
AsciiTableHDU.addColumn(java.lang.Object newCol) |
|
int |
BinaryTable.addColumn(java.lang.Object o) |
|
int |
BinaryTableHDU.addColumn(java.lang.Object data) |
|
int |
TableData.addColumn(java.lang.Object newCol) |
Add a column to the table without any associated header information.
|
int |
TableHDU.addColumn(java.lang.Object newCol) |
Add a column to the table without any associated header information.
|
int |
BinaryTable.addFlattenedColumn(java.lang.Object o,
int[] dims) |
Add a column where the data is already flattened.
|
(package private) int |
BinaryTable.addFlattenedColumn(java.lang.Object o,
int[] dims,
boolean allocated) |
This function is needed since we had made addFlattenedColumn public so in
principle a user might have called it directly.
|
void |
Fits.addHDU(BasicHDU<?> myHDU) |
Add an HDU to the Fits object.
|
int |
AsciiTable.addRow(java.lang.Object[] newRow) |
|
int |
BinaryTable.addRow(java.lang.Object[] o) |
|
int |
TableData.addRow(java.lang.Object[] newRow) |
Add a row at the end of the table.
|
int |
TableHDU.addRow(java.lang.Object[] newRows) |
Add a row to the end of the table.
|
private java.lang.Object |
BinaryTable.arrayToColumn(BinaryTable.ColumnDesc added,
java.lang.Object o) |
Convert the external representation to the BinaryTable representation.
|
private void |
Header.cardCheck(java.lang.String key) |
Check if the given key is the next one available in the header.
|
private void |
Header.cardCheck(IFitsHeader key) |
Check if the given key is the next one available in the header.
|
(package private) void |
Header.checkBeginning() |
Ensure that the header begins with a valid set of keywords.
|
private java.lang.Object |
BinaryTable.columnToArray(BinaryTable.ColumnDesc colDesc,
java.lang.Object o,
int rows) |
Convert data from binary table representation to external Java
representation.
|
static void |
BinaryTable.createColumnDataFor(BinaryTable table) |
TODO: this is only for internal access!
|
private ColumnTable<BinaryTable.SaveState> |
BinaryTable.createTable() |
Create a column table given the number of rows and a model row.
|
static Data |
FitsFactory.dataFactory(Header hdr) |
|
void |
AsciiTable.deleteColumns(int start,
int len) |
Delete columns from the table.
|
void |
BinaryTable.deleteColumns(int start,
int len) |
Delete a set of columns.
|
void |
TableData.deleteColumns(int row,
int len) |
|
void |
TableHDU.deleteColumnsIndexOne(int column,
int len) |
Delete a set of columns from a table.
|
void |
TableHDU.deleteColumnsIndexOne(int column,
int len,
java.lang.String[] fields) |
Delete a set of columns from a table.
|
void |
TableHDU.deleteColumnsIndexZero(int column,
int len) |
Delete a set of columns from a table.
|
void |
TableHDU.deleteColumnsIndexZero(int column,
int len,
IFitsHeader[] fields) |
Delete a set of columns from a table.
|
void |
Fits.deleteHDU(int n) |
Delete an HDU from the HDU list.
|
void |
AsciiTable.deleteRows(int start,
int len) |
Delete rows from a FITS table
|
void |
BinaryTable.deleteRows(int row,
int len) |
Delete rows from a table.
|
void |
TableData.deleteRows(int row,
int len) |
|
void |
TableHDU.deleteRows(int row) |
Remove all rows from the table starting at some specific index from the
table.
|
void |
TableHDU.deleteRows(int firstRow,
int nRow) |
Remove a number of adjacent rows from the table.
|
private void |
Header.doCardChecks(boolean isTable,
boolean isExtension) |
|
static AsciiTable |
AsciiTableHDU.encapsulate(java.lang.Object o) |
|
static BinaryTable |
BinaryTableHDU.encapsulate(java.lang.Object o) |
|
static ImageData |
ImageHDU.encapsulate(java.lang.Object o) |
|
static RandomGroupsData |
RandomGroupsHDU.encapsulate(java.lang.Object o) |
|
static UndefinedData |
UndefinedHDU.encapsulate(java.lang.Object o) |
|
private void |
AsciiTable.ensureData() |
be sure that the data is filled.
|
private void |
BinaryTable.ensureData() |
|
private boolean |
AsciiTable.extractElement(int offset,
int length,
java.lang.Object[] array,
int col,
int row,
java.lang.String nullFld) |
Move an element from the buffer into a data array.
|
protected void |
Fits.fileInit(java.io.File myFile,
boolean compressed) |
Get a stream from the file and then use the stream initialization.
|
(package private) void |
BinaryTable.fillForColumn(Header h,
int col,
Cursor<java.lang.String,HeaderCard> iter) |
Update the header to reflect the details of a given column.
|
void |
BinaryTable.fillHeader(Header h) |
Update a FITS header to reflect the current state of the data.
|
(package private) abstract void |
Data.fillHeader(Header head) |
Modify a header to point to this data, this differs per subclass, they
all need oder provided different informations to the header.
|
protected void |
ImageData.fillHeader(Header head) |
Fill header with keywords that describe image data.
|
protected void |
RandomGroupsData.fillHeader(Header h) |
|
(package private) static java.lang.Object[] |
RandomGroupsHDU.generateSampleRow(Header h) |
|
int[] |
BasicHDU.getAxes() |
In FITS files the index represented by NAXIS1 is the index that changes
most rapidly.
|
int |
BasicHDU.getBitPix() |
|
long |
BasicHDU.getBlankValue() |
|
private void |
AsciiTable.getBuffer(int size,
long offset) |
Read some data into the buffer.
|
java.lang.Object |
AsciiTable.getColumn(int col) |
Get a column of data
|
java.lang.Object |
BinaryTable.getColumn(int col) |
Get a given column
|
java.lang.Object |
TableData.getColumn(int col) |
|
java.lang.Object |
TableHDU.getColumn(int col) |
|
java.lang.Object |
TableHDU.getColumn(java.lang.String colName) |
|
java.lang.String |
TableHDU.getColumnFormat(int index) |
Get the FITS type of a column in the table.
|
java.lang.Object[] |
TableHDU.getColumns() |
|
java.lang.Object |
AsciiTable.getData() |
Get the ASCII table information.
|
ColumnTable<BinaryTable.SaveState> |
BinaryTable.getData() |
|
abstract java.lang.Object |
Data.getData() |
|
void |
FitsHeap.getData(int offset,
java.lang.Object array) |
Get data from the heap.
|
java.lang.Object |
AsciiTable.getElement(int row,
int col) |
Get a single element as a one-d array.
|
java.lang.Object |
BinaryTable.getElement(int i,
int j) |
Get a particular element from the table.
|
java.lang.Object |
TableData.getElement(int row,
int col) |
|
java.lang.Object |
TableHDU.getElement(int row,
int col) |
|
private java.lang.Object[] |
BinaryTable.getFileRow(int row) |
|
java.lang.Object |
BinaryTable.getFlattenedColumn(int col) |
|
BasicHDU<?> |
Fits.getHDU(int n) |
|
java.lang.Object |
Data.getKernel() |
|
private java.lang.Object[] |
BinaryTable.getMemoryRow(int row) |
Get a row from memory.
|
java.lang.Object |
BinaryTable.getRawElement(int i,
int j) |
|
java.lang.Object[] |
AsciiTable.getRow(int row) |
Get a row.
|
java.lang.Object[] |
BinaryTable.getRow(int row) |
Get a given row
|
java.lang.Object[] |
TableData.getRow(int row) |
|
java.lang.Object[] |
TableHDU.getRow(int row) |
|
static BasicHDU<?> |
FitsFactory.hduFactory(java.lang.Object o) |
|
static <DataClass extends Data> BasicHDU<DataClass> |
FitsFactory.hduFactory(Header hdr,
DataClass d) |
|
static BasicHDU<?> |
FitsFactory.HDUFactory(java.lang.Object o) |
Deprecated.
|
static <DataClass extends Data> BasicHDU<DataClass> |
FitsFactory.HDUFactory(Header hdr,
DataClass d) |
Deprecated.
|
void |
Fits.insertHDU(BasicHDU<?> myHDU,
int position) |
Insert a FITS object into the list of HDUs.
|
Data |
Header.makeData() |
|
static <DataClass extends Data> BasicHDU<DataClass> |
Fits.makeHDU(DataClass data) |
|
static BasicHDU<?> |
Fits.makeHDU(java.lang.Object o) |
|
static BasicHDU<?> |
Fits.makeHDU(Header h) |
|
static Data |
AsciiTableHDU.manufactureData(Header hdr) |
Create a Data object to correspond to the header description.
|
static BinaryTable |
BinaryTableHDU.manufactureData(Header header) |
|
static Data |
ImageHDU.manufactureData(Header hdr) |
|
static RandomGroupsData |
RandomGroupsHDU.manufactureData(Header header) |
|
static Data |
UndefinedHDU.manufactureData(Header hdr) |
|
static Header |
AsciiTableHDU.manufactureHeader(Data d) |
|
static Header |
BinaryTableHDU.manufactureHeader(Data data) |
|
static Header |
ImageHDU.manufactureHeader(Data d) |
|
(package private) static Header |
RandomGroupsHDU.manufactureHeader(Data d) |
|
static Header |
UndefinedHDU.manufactureHeader(Data d) |
|
static int |
FitsUtil.maxLength(java.lang.String[] strings) |
|
static void |
FitsUtil.pad(ArrayDataOutput stream,
long size) |
Add padding to an output stream.
|
static void |
FitsUtil.pad(ArrayDataOutput stream,
long size,
byte fill) |
Add padding to an output stream.
|
protected ImageData.ArrayDesc |
ImageData.parseHeader(Header h) |
|
private java.lang.Object |
AsciiTable.parseSingleElement(int row,
int col) |
Read a single element from the table.
|
private java.lang.Object[] |
AsciiTable.parseSingleRow(int row) |
Read a single row from the table.
|
(package private) void |
BinaryTable.pointToColumn(int col,
Header hdr) |
Update the header to reflect information about a given column.
|
void |
Header.pointToData(Data o) |
Deprecated.
|
private int |
BinaryTable.processCol(Header header,
int col) |
Process one column from a FITS Header.
|
(package private) int |
FitsHeap.putData(java.lang.Object data) |
Add some data to the heap.
|
protected void |
Fits.randomInit(java.io.File file) |
Initialize using buffered random access.
|
void |
AsciiTable.read(ArrayDataInput str) |
Read in an ASCII table.
|
void |
BasicHDU.read(ArrayDataInput stream) |
|
void |
BinaryTable.read(ArrayDataInput i) |
Read the data -- or defer reading on random access.
|
abstract void |
Data.read(ArrayDataInput in) |
|
BasicHDU<?>[] |
Fits.read() |
Return all HDUs for the Fits object.
|
void |
Fits.read(java.io.InputStream is) |
Read a FITS file from an InputStream object.
|
void |
FitsElement.read(ArrayDataInput in) |
Read a data array into the current object and if needed position to the
beginning of the next FITS block.
|
void |
FitsHeap.read(ArrayDataInput str) |
Read the heap
|
void |
ImageData.read(ArrayDataInput i) |
|
void |
RandomGroupsData.read(ArrayDataInput str) |
Read the RandomGroupsData
|
void |
UndefinedData.read(ArrayDataInput i) |
|
BasicHDU<?> |
Fits.readHDU() |
Read the next HDU on the default input stream.
|
protected void |
BinaryTable.readHeap(ArrayDataInput input) |
Read the heap which contains the data for variable length arrays.
|
private void |
Fits.readToEnd() |
Read to the end of the associated input stream
|
protected void |
BinaryTable.readTrueData(ArrayDataInput i) |
Read table, heap and padding
|
static void |
FitsUtil.reposition(java.io.Closeable o,
long offset) |
Reposition a random access stream to a requested offset.
|
void |
BasicHDU.rewrite() |
|
void |
Data.rewrite() |
|
void |
FitsElement.rewrite() |
Rewrite the contents of the element in place.
|
void |
FitsHeap.rewrite() |
|
void |
Header.rewrite() |
Rewrite the header.
|
void |
Fits.setChecksum() |
Add or Modify the CHECKSUM keyword in all headers.
|
static void |
Fits.setChecksum(BasicHDU<?> hdu) |
Deprecated.
|
void |
AsciiTable.setColumn(int col,
java.lang.Object newData) |
Replace a column with new data.
|
void |
BinaryTable.setColumn(int col,
java.lang.Object xcol) |
Replace a column in the table.
|
void |
TableData.setColumn(int col,
java.lang.Object newCol) |
|
void |
TableHDU.setColumn(int col,
java.lang.Object newCol) |
Update a column within a table.
|
void |
TableHDU.setColumn(java.lang.String colName,
java.lang.Object newCol) |
Update a column within a table.
|
void |
TableHDU.setColumnMeta(int index,
java.lang.String key,
boolean value,
java.lang.String comment,
boolean after) |
|
void |
TableHDU.setColumnMeta(int index,
java.lang.String key,
double value,
int precision,
java.lang.String comment,
boolean after) |
|
void |
TableHDU.setColumnMeta(int index,
java.lang.String key,
double value,
java.lang.String comment,
boolean after) |
|
void |
TableHDU.setColumnMeta(int index,
java.lang.String key,
long value,
java.lang.String comment,
boolean after) |
|
void |
TableHDU.setColumnMeta(int index,
java.lang.String key,
java.lang.String value,
java.lang.String comment) |
|
void |
TableHDU.setColumnMeta(int index,
java.lang.String key,
java.lang.String value,
java.lang.String comment,
boolean after) |
Deprecated.
|
void |
TableHDU.setColumnMeta(int index,
IFitsHeader key,
java.lang.String value,
java.lang.String comment,
boolean after) |
Specify column metadata for a given column in a way that allows all of
the column metadata for a given column to be organized together.
|
void |
TableHDU.setColumnName(int index,
java.lang.String name,
java.lang.String comment) |
|
(package private) boolean |
BinaryTable.setComplexColumn(int index) |
Convert a column from float/double to float complex/double complex.
|
boolean |
BinaryTableHDU.setComplexColumn(int index) |
Convert a column in the table to complex.
|
void |
AsciiTable.setElement(int row,
int col,
java.lang.Object newData) |
Modify an element in the table
|
void |
BinaryTable.setElement(int i,
int j,
java.lang.Object o) |
Replace a single element within the table.
|
void |
TableData.setElement(int row,
int col,
java.lang.Object element) |
|
void |
TableHDU.setElement(int row,
int col,
java.lang.Object element) |
Update a single element within the table.
|
void |
BinaryTable.setFlattenedColumn(int col,
java.lang.Object data) |
Set a column with the data already flattened.
|
(package private) void |
BasicHDU.setPrimaryHDU(boolean newPrimary) |
Indicate that an HDU is the first element of a FITS file.
|
protected void |
RandomGroupsHDU.setPrimaryHDU(boolean status) |
Move a RandomGroupsHDU to or from the beginning of a FITS file.
|
void |
AsciiTable.setRow(int row,
java.lang.Object[] newData) |
Modify a row in the table
|
void |
BinaryTable.setRow(int row,
java.lang.Object[] data) |
Replace a row in the table.
|
void |
TableData.setRow(int row,
java.lang.Object[] newRow) |
|
void |
TableHDU.setRow(int row,
java.lang.Object[] newRow) |
Update a row within a table.
|
int |
Fits.size() |
Deprecated.
|
void |
Fits.skipHDU() |
Skip the next HDU on the default input stream.
|
void |
Fits.skipHDU(int n) |
Skip HDUs on the associate input stream.
|
protected void |
Fits.streamInit(java.io.InputStream inputStream) |
Initialize the input stream.
|
void |
AsciiTable.updateAfterDelete(int oldNCol,
Header hdr) |
This is called after we delete columns.
|
void |
BinaryTable.updateAfterDelete(int oldNcol,
Header hdr) |
Update the header after a deletion.
|
void |
TableData.updateAfterDelete(int oldNcol,
Header hdr) |
|
(package private) void |
PaddingException.updateHeader(Header hdr) |
|
void |
AsciiTable.write(ArrayDataOutput str) |
Write the data to an output stream.
|
void |
BasicHDU.write(ArrayDataOutput stream) |
|
void |
BinaryTable.write(ArrayDataOutput os) |
Write the table, heap and padding.
|
void |
BinaryTableHDU.write(ArrayDataOutput ado) |
|
abstract void |
Data.write(ArrayDataOutput o) |
Write the data -- including any buffering needed
|
void |
Fits.write(java.io.DataOutput os) |
Write a Fits Object to an external Stream.
|
void |
Fits.write(java.io.File file) |
Write the FITS to the specified file.
|
void |
FitsElement.write(ArrayDataOutput out) |
Write the contents of the element to a data sink.
|
void |
FitsHeap.write(ArrayDataOutput str) |
Write the heap
|
void |
Header.write(ArrayDataOutput dos) |
Write the current header (including any needed padding) to the output
stream.
|
void |
ImageData.write(ArrayDataOutput o) |
|
void |
RandomGroupsData.write(ArrayDataOutput str) |
Write the RandomGroupsData
|
void |
UndefinedData.write(ArrayDataOutput o) |
|