controller_device
plantimager.commons.controller_device Link
ControllerDevice Link
ControllerDevice()
Bases: ABC
Abstract class for controller device.
Source code in plantimager/commons/controller_device.py
17 18 |
|
camera_names
abstractmethod
Link
camera_names()
Return the list of camera names.
Source code in plantimager/commons/controller_device.py
58 59 60 61 62 |
|
max_progress
abstractmethod
Link
max_progress()
Return the maximum progress of the scan.
Source code in plantimager/commons/controller_device.py
46 47 48 49 50 |
|
progress
abstractmethod
Link
progress()
Return the current progress of the scan.
Source code in plantimager/commons/controller_device.py
40 41 42 43 44 |
|
ready_to_scan
abstractmethod
Link
ready_to_scan()
Return whether the controller is ready to start a scan.
Source code in plantimager/commons/controller_device.py
52 53 54 55 56 |
|
run_scan
abstractmethod
Link
run_scan()
Start the scan.
Source code in plantimager/commons/controller_device.py
35 36 37 38 |
|
set_config
abstractmethod
Link
set_config(config)
Send a configuration dictionary to the controller.
Source code in plantimager/commons/controller_device.py
25 26 27 28 |
|
set_dataset_name
abstractmethod
Link
set_dataset_name(name)
Set the name of the dataset to be created.
Source code in plantimager/commons/controller_device.py
30 31 32 33 |
|
set_db_url
abstractmethod
Link
set_db_url(url)
Set the database URL for the controller.
Source code in plantimager/commons/controller_device.py
20 21 22 23 |
|