nomad_camels_sandbox package
Subpackages
- nomad_camels_sandbox.digitaltwins package
- Submodules
- nomad_camels_sandbox.digitaltwins.diode module
- nomad_camels_sandbox.digitaltwins.dmm module
- nomad_camels_sandbox.digitaltwins.experiment module
- nomad_camels_sandbox.digitaltwins.heater module
- nomad_camels_sandbox.digitaltwins.peltierelement module
- nomad_camels_sandbox.digitaltwins.ptxxxx module
- nomad_camels_sandbox.digitaltwins.semiconductor_resistor module
- nomad_camels_sandbox.digitaltwins.smu module
- Module contents
Submodules
nomad_camels_sandbox.CAMELS_sandbox module
Created on Wed Mar 6 15:03:22 2024
@author: Michael Krieger (lapmk)
- class nomad_camels_sandbox.CAMELS_sandbox.SandboxForCAMELS(request, client_address, server)
Bases:
BaseHTTPRequestHandler
- do_GET()
- experiment1 = <nomad_camels_sandbox.digitaltwins.experiment.experiment object>
- log_message(format, *args)
Log an arbitrary message.
This is used by all other logging functions. Override it if you have specific logging wishes.
The first argument, FORMAT, is a format string for the message to be logged. If the format string contains any % escapes requiring parameters, they should be specified as subsequent arguments (it’s just like printf!).
The client ip and current date/time are prefixed to every message.
Unicode control characters are replaced with escaped hex before writing the output to stderr.
nomad_camels_sandbox.server_signals module
- class nomad_camels_sandbox.server_signals.Demo_Server_Device(prefix='', *, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, demo_server_port=8080, demo_server_host='localhost', **kwargs)
Bases:
Device
A class to create a device that can be used to communicate with the demo server
- component_names = ()
- finalize_steps()
A function to finalize the steps of the device
- subscriptions: ClassVar[FrozenSet[str]] = frozenset({'acq_done'})
- class nomad_camels_sandbox.server_signals.Demo_Server_Signal(name, value=0.0, timestamp=None, parent=None, labels=None, kind='hinted', tolerance=None, rtolerance=None, metadata=None, cl=None, attr_name='', parameter_name='', demo_server_port=8080, parameter_type='float')
Bases:
Signal
A class to create a signal that can be used to communicate with the demo server
- describe()
Add “Demo Server” as source to the description of the signal.
- put(value, *args, timestamp=None, force=False, metadata=None, **kwargs)
A function to put a value to the server
- set_port(demo_server_port, demo_server_host='localhost')
- subscriptions: ClassVar[FrozenSet[str]] = frozenset({'meta', 'value'})
- class nomad_camels_sandbox.server_signals.Demo_Server_SignalRO(name, value=0.0, timestamp=None, parent=None, labels=None, kind='hinted', tolerance=None, rtolerance=None, metadata=None, cl=None, attr_name='', parameter_name='', demo_server_port=8080, parameter_type='float')
Bases:
SignalRO
A class to create a signal that can be used to communicate with the demo server
- describe()
Add “Demo Server” as source to the description of the signal.
- get()
A function to get a value from the server
- set_port(demo_server_port, demo_server_host='localhost')
- subscriptions: ClassVar[FrozenSet[str]] = frozenset({'meta', 'value'})
- class nomad_camels_sandbox.server_signals.ServerConnection(parent=None)
Bases:
Connection_Config
- get_settings()
Overwrite to return the connection-specific settings
- load_settings(settings_dict)
Overwrite to load the connection-specific settings from settings_dict.
- Parameters:
settings_dict
- staticMetaObject = PySide6.QtCore.QMetaObject("ServerConnection" inherits "Connection_Config": )