hipercam.ucam

Module for handling raw ULTRA(CAM|SPEC) data.

The main class is Rdata

Functions

get_nframe_from_server(run)

Returns the number of frames in the run via the FileServer

utimer(tbytes, rhead, fnum)

Computes the MJD corresponding of the most recently read frame, None if no frame has been read.

Classes

Rdata(run[, nframe, server, ccd])

Callable, iterable object to represent ULTRACAM/SPEC raw data files.

Rhead(run[, server])

Stores the essential header info of an ULTRACAM/SPEC run as read from a run###.xml file.

Rtime(run[, nframe, server])

Iterator class to enable swift reading of Ultracam times.

Utime(mjd, expose, good, reason)

Represents a time for a CCD.

Exceptions

PowerOnOffError

Exception for trying to read a power on/off

UendError

Exception for the standard way to reach the end of a data file (failure to read the timing bytes).

UltracamError

For throwing exceptions from the ultracam module