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
19 20 | |
camera_names
abstractmethod
Link
camera_names()
Return the list of camera names.
Source code in plantimager/commons/controller_device.py
65 66 67 68 69 | |
max_progress
abstractmethod
Link
max_progress()
Return the maximum progress of the scan.
Source code in plantimager/commons/controller_device.py
53 54 55 56 57 | |
progress
abstractmethod
Link
progress()
Return the current progress of the scan.
Source code in plantimager/commons/controller_device.py
47 48 49 50 51 | |
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
59 60 61 62 63 | |
run_scan
abstractmethod
Link
run_scan()
Start the scan.
Source code in plantimager/commons/controller_device.py
42 43 44 45 | |
set_api_token
abstractmethod
Link
set_api_token(token)
Set the session token to use for authenticated requests.
Source code in plantimager/commons/controller_device.py
37 38 39 40 | |
set_config
abstractmethod
Link
set_config(config)
Send a configuration dictionary to the controller.
Source code in plantimager/commons/controller_device.py
27 28 29 30 | |
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
32 33 34 35 | |
set_db_url
abstractmethod
Link
set_db_url(url)
Set the database URL for the controller.
Source code in plantimager/commons/controller_device.py
22 23 24 25 | |