hipercam.hcam

Section for handling the raw HiPERCAM data files. These are FITS files with a single HDU containing header information on the window format amonst other things with the data in a “FITS cube” of unusual nature in that it has dimensions of nframe x 1 x lots, where “lots” contains all pixels of all windows of all CCDs plus timing bytes at the end. The pixels come in an odd order (pixel 1 of each window and then the same for each CCD etc), and the main work of the code is in disentangling them to produce :class:MCCD objects.

Functions

decode_timing_bytes(tbytes)

Decode the timing bytes tacked onto the end of every HiPERCAM frame in the 3D FITS file.

Classes

Rdata(fname[, nframe, server, full])

Callable, iterable object to represent HiPERCAM raw data files.

Rhead(fname[, server, full])

Reads an interprets header information from a HiPERCAM run (3D FITS file) and generates the window formats needed to interpret the data.

Rtime(fname[, nframe, server])

Callable, iterable object to generate timing data only from HiPERCAM raw data files.

Exceptions

HendError

Exception for the standard way to reach the end of a HiPERCAM raw data file (attempt to read out-of-range frame).