ChannelTable¶
Example¶
API¶
Bases: DataTableWidget
Table to edit a list of channels (useq.Channel).
It doesn't use a core: call setChannelGroups to say which channel groups
and presets to offer.
Referenced by:
Returned by:
valueChanged
¶
Emitted (with no arguments) when the table changes; read it with value().
EXPOSURE
¶
EXPOSURE = FloatColumn(
key="exposure", header="Exposure [ms]", default=100.0, minimum=0.01
)
setChannelGroups
¶
channelGroups
¶
Return the current channel groups that can be selected in the table.
value
¶
Return the current value of the table as a tuple of useq.Channel.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
exclude_unchecked
|
bool
|
Exclude unchecked rows, by default True |
True
|
Returns:
| Type | Description |
|---|---|
tuple[Channel, ...]
|
A tuple of |
setValue
¶
Set the current value of the table from an Iterable of useq.Channel.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
Iterable[Channel]
|
An Iterable of |
required |

