public class StandardFitsTableSerializer
Class which knows how to do the various bits of serializing a StarTable
to FITS BINTABLE format. A normal (row-oriented) organisation of the
data is used.
Array-valued columns are all written as fixed size arrays.
This class does the hard work for FitsTableWriter.
When writing tables that are marked up using the headers defined in
this serializer will attempt to insert FITS headers corresponding
to the HEALPix-FITS convention.
Returns the FITS TFORM letter which describes the type of data
output for a given column. This is as described by the FITS
standard - 'J' for 4-byte integer, 'A' for characters, etc.
If the column is not being output, (char)0 will be
Returns the dimensions of the items which will be output for a
given column. This will be null only if that column
is not being output. Otherwise it will be a zero-element array
for a scalar, 1-element array for a vector, etc.
Returns FITS headers specific for a table containing a HEALPix map.
If this method is called the assumption is that the table looks like
it should be a HEALPix map of some sort. If there are problems
with the metadata that prevent a consistent set of headers from
being generated, a TableFormatException with an informative
message should be thrown.
hpxInfo - non-null healpix description
array of FITS headers describing healpix information