Table of Contents

Module: smartheader filetype/smartheader.py

Handle SMART 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 x to a binary string suitable as SMART file header

  Default 
Default ()

Make a dummy SMART header

  Read 
Read ( filename )

Read the header from the named SMART image file.

Exceptions   
IOError( 2, "File does not exist" )
error( "Not a SMART header" )
  Scan 
Scan ( s )

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

Classes   
Header

SMART header class

error

Exception raised when a SMART header is not an SMART header.


Table of Contents

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