ALBULA  4.0.1
 All Classes Namespaces Functions Variables Pages
dectris.albula.DImageModule Class Reference

class DImageModule provides information of an image module e.g. More...

Public Member Functions

def DImageModule
 Construct DImageModule given the absolute geometry of the module within the image and the geometry of the chips and the module number. More...
 
def DImageModule
 Copy constructor. More...
 
def geometry
 
def move
 move the module by dx, dy holding the module size and the relative location for the chips constant. More...
 
def setModuleNumber
 sets the module number More...
 
def setVrf
 sets Vrf More...
 
def numberOfChips
 
def moduleNumber
 
def numberOfDACs
 
def vrf
 
def dacValue
 
def dacName
 
def load_countrate_correction_lookup_table
 loads the countrate lut from the optionalData More...
 
def absoluteChipGeometry
 Absolute (i.e. with respect to image coordinates) size and position of a chip. More...
 
def chip
 Relative (i.e. with respect to module coordinates) size and position of a chip. More...
 

Detailed Description

class DImageModule provides information of an image module e.g.

dimensions and coordinates.

Constructor & Destructor Documentation

def dectris.albula.DImageModule.DImageModule (   geometry,
  chips,
  moduleNumber = - 1 
)

Construct DImageModule given the absolute geometry of the module within the image and the geometry of the chips and the module number.

Throws an DOutOfRangeException if length of chips is larger than MAX_NUMBER_OF_CHIPS.

Parameters
geometryDRect holding the absolute geometry of the module within the image
chipsList of DRects holding the geometries of the chips relative to the module
moduleNumberOptional number identifying the module
def dectris.albula.DImageModule.DImageModule (   module)

Copy constructor.

Parameters
moduleConstruct DImageModule from existing DImageModule module

Member Function Documentation

def dectris.albula.DImageModule.absoluteChipGeometry (   chipNumber)

Absolute (i.e. with respect to image coordinates) size and position of a chip.

Eventually throws an DOutOfRangeException. See also chip(int chipNumber).

Parameters
chipNumbernumber of the chip
Returns
DRect containing the geometry
def dectris.albula.DImageModule.chip (   chipNumber)

Relative (i.e. with respect to module coordinates) size and position of a chip.

Eventually throws an DOutOfRangeException. See also absoluteChipGeometry(int chipNumber);

Parameters
chipNumbernumber of the chip
Returns
DRect containing the geometry
def dectris.albula.DImageModule.dacName (   iDac)
Returns
the DAC name
def dectris.albula.DImageModule.dacValue (   iDac)
Returns
the DAC value
def dectris.albula.DImageModule.geometry ( )
Returns
DRect that contains the size and position of the module with respect to image coordinates
def dectris.albula.DImageModule.load_countrate_correction_lookup_table ( )

loads the countrate lut from the optionalData

def dectris.albula.DImageModule.moduleNumber ( )
Returns
return module number
def dectris.albula.DImageModule.move (   dx,
  dy 
)

move the module by dx, dy holding the module size and the relative location for the chips constant.

Parameters
dxmove in x direction by dx
dymove in y direction by dy
def dectris.albula.DImageModule.numberOfChips ( )
Returns
return number of chips
def dectris.albula.DImageModule.numberOfDACs ( )
Returns
return number of DACs
def dectris.albula.DImageModule.setModuleNumber (   n)

sets the module number

def dectris.albula.DImageModule.setVrf (   vrf)

sets Vrf

def dectris.albula.DImageModule.vrf ( )
Returns
the vrf value