docs: improved doc strings for computed signal
This commit is contained in:
parent
c76e1a0b4e
commit
c68c3c1b54
@ -73,6 +73,9 @@ class ComputedSignal(SignalRO):
|
||||
representation of a function that takes the input signals as arguments
|
||||
and returns the computed value.
|
||||
|
||||
Example:
|
||||
>>> signal.compute_method = "def test(a, b): return a.get() + b.get()"
|
||||
|
||||
"""
|
||||
return self._compute_method
|
||||
|
||||
@ -95,6 +98,9 @@ class ComputedSignal(SignalRO):
|
||||
Args:
|
||||
*input_vars: The input signals to be used for the computation
|
||||
|
||||
Example:
|
||||
>>> signal.input_signals = ["samx_readback", "samx_readback"]
|
||||
|
||||
"""
|
||||
return self._input_signals
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user