Table of Contents

Module: marheader filetype/marheader.py

Handle MAR 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   
Build
Default
Read
Scan
  Build 
Build ( x )

Convert a header record h to a binary string suitable as MAR file header

  Default 
Default ()

Make a dummy MAR header.

incomplete.

  Read 
Read ( filename )

Read the header from the named MAR image file.

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

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

Exceptions   
ValueError( "Byte-swap identifier in MAR header not found" )
ValueError( "Can not read mar images of this format (spiral?)" )
ValueError( "Incomplete header" )
Classes   
Header

MAR header class

Overflow

Class to store overflow pixels present


Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING