BEST
index
/home/graeme/CVS/dna/scheduler/Scheduler/Mosflm/BEST.py

############################################################
BEST.py
# Maintained by G.Winter
# 19th April 2004

# A wrapper for the strategy program BEST (Popov & Bourenkov. 2003)


# $Id: BEST.html,v 1.1 2004/10/01 12:15:56 gwin Exp $

############################################################

 
Modules
       
Driver
Output
XSD
os
sys

 
Classes
       
Driver.Driver
BEST

 
class BEST(Driver.Driver)
     Methods defined here:
__init__(self)
addHkl(self, hkl)
run(self)
setDat(self, dat)
setDetector(self, detector, diameter=None)
setExposure_time(self, time)
setPar(self, par)
setResolution(self, resolution)
setSegments(self, segments)
setStrategy(self, start, end, width, time)

Methods inherited from Driver.Driver:
close(self)
Close the connection to the child process - this will simply
close the input channels, so that we can be sure that this is
flushed - the equivalent of ^D
debug(self)
getExecutable(self)
getWorkingDirectory(self)
input(self, line, newline=1)
Print a line to the standard input channel of the child process
kill(self)
Terminate the child process - this is designed to implement the
abort type method - so will be useful if the child process gets
stuck in a tight loop, which may happen
output(self)
Read a line from the standard output of the child process
pause(self)
Stop a process in its tracks, to allow restarting later on
setExecutable(self, executableName)
setInputCopy(self, method)
setOutputCopy(self, method)
setTimeout(self, value)
setWorkingDirectory(self, directory)
start(self, command=None)
Make a connection to the child process - which involves opening
a pipe to it
unpause(self)
Restart a stopped process

 
Functions
       
GetDetectorName()
Strategy_response(output)
Convert an output best.stf file into DNA

 
Data
        Messenger = <Messenger.Messenger instance>
Somewhere = <Somewhere.Somewhere instance>
dna = '/home/graeme/CVS/dna'