toor.Device package#
Submodules#
toor.Device.device module#
Author: “P. M. C. C. Encarnação” Email: “pedro.encarnacao@ua.pt” Date: “2023-10-10” Description: “This file is used to create a device object. This object is used to store the information about the device.
- class toor.Device.device.Device[source]#
Bases:
object
Class that represents a device. It contains the information about the device.
example:
print(“Device UUID: “, device.deviceUUID)
- property deviceDirectory#
- property deviceName#
- property deviceType#
- property deviceUUID#
Returns the device UUID
- Returns:
deviceUUID
- property energyResolutionFunction#
- generateDeviceUUID()[source]#
Generate a device Universally Unique Identifier (UUID) according to version 4
- Returns:
- property geometryObject#
- property geometryType#
- readDeviceProperties(objectName=None)[source]#
Read the device properties from a file
- Parameters:
objectName (str) – name of the object to read the properties from (folder name)
Deprecated
toor.Device.energy_resolution_function module#
Brief description of the file.