| Class: Scanset | goniometer/scanset.py | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Class behaving as an
|
| Methods | ||
|---|---|---|
| ||
| 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:
| ||
| __len__ | ||
__len__ ( self ) Return the number of scans and operations in the set. | ||
| __repr__ | ||
__repr__ ( self ) Make a summary string describing the |