public class TableTools extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TableTools.Ascii
Read the binary table and prints the columns to standard out.
|
static class |
TableTools.CorotChrom
Corot reader for chromatic channel.
|
static class |
TableTools.CorotImg
Corot reader for imagette channel.
|
static class |
TableTools.MPrint
Read the provided fits file to first table and print out table info.
|
static class |
TableTools.Print
Read the provided fits file to first table and print out table info.
|
static class |
TableTools.RiceTest |
| Modifier and Type | Field and Description |
|---|---|
private static int |
BYTEBIT |
static Map<String,Class<?>> |
TYPES
A llokup-table for binary data types to java data classes.
|
| Constructor and Description |
|---|
TableTools() |
| Modifier and Type | Method and Description |
|---|---|
static MImageHDU |
decompress(MTableHDU rice)
First trial of rice decompression, if successful moved to mfits package.
|
static Class<?> |
deduceClass(String type)
From the value of a TFORM header entry, we deduce the java class type of
the column.
|
static Map<String,Class<?>> |
parseHeader(MTableHDU tab)
We read a table header and return the meta information on the data format
as a mapping of column names to java class types.
|
private static void |
putPixel(long bitmask,
int bytepix,
ByteBuffer into) |
private static ByteBuffer |
riceDecompressInto(ByteBuffer tile,
int block,
int bytepix,
int maxbits,
ByteBuffer into,
int npix) |
private static final int BYTEBIT
public static Class<?> deduceClass(String type)
public static Map<String,Class<?>> parseHeader(MTableHDU tab)
public static MImageHDU decompress(MTableHDU rice)
rice - private static void putPixel(long bitmask,
int bytepix,
ByteBuffer into)
private static ByteBuffer riceDecompressInto(ByteBuffer tile, int block, int bytepix, int maxbits, ByteBuffer into, int npix)