Table of Contents

Module: denzo interface/denzo.py

Run the Denzo command line program.

Functions   
caltext
detformat
  caltext 
caltext (
        filename,
        allowmissing=0,
        verbose=1,
        header=None,
        )

Build command string for denzo representing the data in filename.

parameters:

filename

the name of a calibration file. This can be a generic file name: it is looked up in the current and in the calibration directory.

allowmissing

if 1, this routine will not complain if the calibration file is missing.

verbose

if 1, give screenoutput showing where we did get the information.

header

an image header object that is used to locate the proper calibration directory.

Exceptions   
calnotfound( "Calibration file %s not found" % filename )
calnotfound( arg )
  detformat 
detformat (
        h,
        dezinger=None,
        xdisp=0,
        )

Build detector format command for denzo or xdisp.

Parameters:

h

either hardware or header object. If it is a header object, this routine can also append "dz" to the format command if we're talking about a dezingered image.

Return value: format command string for denzo, without newline at the end, and without the word "format" at the beginning.

Classes   
Denzo

Class gathering all information required to run denzo.

calnotfound

Exception raised when a calibration file is missing.

error

Exception raised when anything goes wrong with denzo.


Table of Contents

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