Table of Contents

Module: marccdheader filetype/marccdheader.py

Handle MAR CCD image headers

It should never be necessary to use these functions/classes. Rather use the general interfaces in imagereader and imagewriter to access general image and header data.

Functions   
Read
Scan
  Read 
Read ( filename )

Read a file header from a file

Exceptions   
IOError( 2, "File does not exist" )
  Scan 
Scan ( s )

Parse the binary data in string s as a MARCCD header, returning a projtls.Record() loaded with the header data

Exceptions   
ValueError( "Cannot handle marccd header with kappa!=0" )
ValueError( "Incomplete header" )
ValueError("Did not recognize byte order %d %d" %( header_byte_order, header_byte_order2 ) )
Classes   
Header

SPE header class


Table of Contents

This document was automatically generated on Tue Nov 25 12:18:58 2008 by HappyDoc version WORKING