Main class to handle a HDU of a fits file.
Main class to handle a HDU of a fits file. Main features are
Class to hold block boundaries.
Class to hold block boundaries. These values are computed at first file scan then encoded to be broadcasted to all datanodes through the Hadoop configuration block.
: (Long) Starting byte of the header blocks
: (Long) Starting byte of the data blocks
: (Long) Last byte of non-zero data (could be in a middle of a data block)
: (Long) Last byte of the data blocks (data blocks are multiple of 2880 bytes)
Decompose each line of the header into (key, value).
Decompose each line of the header into (key, value).
: (Array[String]) The header of the HDU.
(Map[String, String]), map array with (keys, values).
Remove single quotes around a string, and trim the resulting string.
Remove single quotes around a string, and trim the resulting string. e.g. "'toto '" would return "toto".
: (String) Input string.
(String), Trimmed input String without the starting and ending single quotes.
This is the beginning of a FITS library in Scala. You will find a large number of methodes to manipulate Binary Table HDUs. There is no support for image HDU for the moment.