Table of Contents

Class: Denzo interface/denzo.py

Class gathering all information required to run denzo.

Methods   
Run
SetupFile
Task
__init__
  Run 
Run (
        self,
        commands,
        logfile,
        cmdfile='denzo.cmd',
        idlefunc=None,
        )

Run denzo and wait for completion.

parameters:

commands

denzo commands to execute.

logfile

the log file where denzo should write its results.

cmdfile

the file that should be created for the denzo commands.

idlefunc

a function that should be called regularly while waiting for the denzo completion. This could e.g. update the GUI windows.

Exceptions   
KeyboardInterrupt( "during denzo run" )
  SetupFile 
SetupFile (
        self,
        commands=None,
        logfile=None,
        cmdfile='denzo.cmd',
        exitdenzo=0,
        )

Make the denzo command file.

parameters:

commands

denzo commands to execute.

logfile

the log file where denzo should write its results.

cmdfile

the file that should be created for the denzo commands.

exitdenzo

if 1, denzo input will be nicely ; terminated.

  Task 
Task (
        self,
        commands,
        logfile,
        cmdfile='denzo.cmd',
        scrnfile=None,
        )

Start denzo.

parameters:

commands

denzo commands to execute.

logfile

the log file where denzo should write its results.

cmdfile

the file that should be created for the denzo commands.

scrnfile

the name of the file that should contain the denzo screen output.

Return value: a Task() object that is already running.

  __init__ 
__init__ (
        self,
        hardware,
        experiment,
        verbose=1,
        header=None,
        )

Constructor

parameters:

hardware

hardware to insert hardware-dependent parameters

experiment

DenzoExp() instance object


Table of Contents

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