class DImageModule provides information of an image module e.g.
More...
class DImageModule provides information of an image module e.g.
dimensions and coordinates.
◆ DImageModule() [1/2]
| 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
-
| geometry | DRect holding the absolute geometry of the module within the image |
| chips | List of DRects holding the geometries of the chips relative to the module |
| moduleNumber | Optional number identifying the module |
◆ DImageModule() [2/2]
| def dectris.albula.DImageModule.DImageModule |
( |
|
module | ) |
|
Copy constructor.
- Parameters
-
◆ absoluteChipGeometry()
| 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
-
| chipNumber | number of the chip |
- Returns
- DRect containing the geometry
◆ chip()
| 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
-
| chipNumber | number of the chip |
- Returns
- DRect containing the geometry
◆ dacName()
| def dectris.albula.DImageModule.dacName |
( |
|
iDac | ) |
|
◆ dacValue()
| def dectris.albula.DImageModule.dacValue |
( |
|
iDac | ) |
|
◆ geometry()
| def dectris.albula.DImageModule.geometry |
( |
| ) |
|
- Returns
- DRect that contains the size and position of the module with respect to image coordinates
◆ load_countrate_correction_lookup_table()
| def dectris.albula.DImageModule.load_countrate_correction_lookup_table |
( |
| ) |
|
loads the countrate lut from the optionalData
◆ moduleNumber()
| def dectris.albula.DImageModule.moduleNumber |
( |
| ) |
|
- Returns
- return module number
◆ move()
| 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
-
| dx | move in x direction by dx |
| dy | move in y direction by dy |
◆ numberOfChips()
| def dectris.albula.DImageModule.numberOfChips |
( |
| ) |
|
- Returns
- return number of chips
◆ numberOfDACs()
| def dectris.albula.DImageModule.numberOfDACs |
( |
| ) |
|
- Returns
- return number of DACs
◆ setModuleNumber()
| def dectris.albula.DImageModule.setModuleNumber |
( |
|
n | ) |
|
◆ setVrf()
| def dectris.albula.DImageModule.setVrf |
( |
|
vrf | ) |
|
◆ vrf()
| def dectris.albula.DImageModule.vrf |
( |
| ) |
|