Table of Contents

Class: MARCommand hwdriver/mardrv.py

MAR/Kappa goniostat driver for FRM II

Driver for the FRM-II specila kappa in combination with a TACO- controlled MAR345 image plate scanner

Base Classes   
ccddrv.CCDCommand
Methods   
GetImage
GetOmegaRange
GetOmegaRanges
GetPosition
GetPositionMar
GonZero
MinimizeDx
PosHardAllowed
PosSoftAllowed
RouteAllowed
SetFilename
__init__
handleexternalimage
  GetImage 
GetImage ( self )

  GetOmegaRange 
GetOmegaRange ( self,  p )

  GetOmegaRanges 
GetOmegaRanges ( self,  p )

  GetPosition 
GetPosition ( self )

  GetPositionMar 
GetPositionMar ( self )

  GonZero 
GonZero ( self )

Take proper action to handle a lost position on the goniostat.

Depending on the gonzeroaction configuration variable, the goniostat is reset automatically or after asking a question, or an exception is raised.

Exceptions   
poslost( "Position lost" )
  MinimizeDx 
MinimizeDx ( self,  p )

minimize dx

FRM-II: dxmin is always allowed

  PosHardAllowed 
PosHardAllowed ( self,  p )

Check if position is allowd( on ccd-server)

  PosSoftAllowed 
PosSoftAllowed ( self,  p )

Check if position is allowed(local)

  RouteAllowed 
RouteAllowed (
        self,
        p1,
        p2,
        )

  SetFilename 
SetFilename ( self,  filename )

Set filename for the first image in the next scan.

The extension .kcd will be added if no extension is specified.

parameter:

filename

filename

  __init__ 
__init__ (
        self,
        host,
        txtout=None,
        idletask=None,
        )

  handleexternalimage 
handleexternalimage (
        self,
        filename,
        saveid,
        )


Table of Contents

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