Table of Contents

Class: Scanset goniometer/scanset.py

Class behaving as an array of scans.

Contains a lot of methods that are also present for single operations and scans. When these are called they are applied to each of the contained scans and operations in the most useful fashion.

Methods   
ExpectedRunTime
ImageTime
NumImages
Perform
ScanImages
ScanLength
Storable
__getitem__
__init__
__len__
__repr__
  ExpectedRunTime 
ExpectedRunTime ( self,  scanparams )

Calculate the sum of all ExpectedRunTime()s for each operation.

Returns 2 time values, giving the expected time the operation will take to be performed. The first value is the number of seconds that will be taken irrespective of the "frame time" given in the scan parameters, the second value is the number of seconds the operation will take for each second of "frame time". The default implementation will return 3,0 if self.NumImages() is zero, and some reasonable guess otherwise.

  ImageTime 
ImageTime ( self,  scanparams )

Return the sum of all imagetimes for all scans and operations

  NumImages 
NumImages ( self,  scanparams )

Calculate the total number of images made by this set.

  Perform 
Perform (
        self,
        scanparams,
        outsink=None,
        )

Perform each of the scans and operations in order.

  ScanImages 
ScanImages ( self,  scanparams )

Calculate the number of images in scans made by this set.

  ScanLength 
ScanLength ( self )

Calculate the total length of all scans in this set.

  Storable 
Storable ( self )

Return a dictionary containing a storable representation.

  __getitem__ 
__getitem__ ( self,  i )

Return the i-th scan or operation.

  __init__ 
__init__ ( self,  scanset=None )

Constructor.

optional parameters:

scanset

list of operations and scans.

  __len__ 
__len__ ( self )

Return the number of scans and operations in the set.

  __repr__ 
__repr__ ( self )

Make a summary string describing the program.


Table of Contents

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