nwbwidgets.controllers package
Submodules
nwbwidgets.controllers.group_and_sort_controllers module
- class nwbwidgets.controllers.group_and_sort_controllers.AbstractGroupAndSortController(**kwargs: Any)[source]
Bases:
VBox
,ValueWidget
Defines the abstract type for GroupAndSortController objects. These classes take in a DynamicTable objects and broadcast a value of the form dict(
order=array-like(uint), group_inds=array-like(uint) | None, labels=array-like(str) | None
)
Public constructor
- class nwbwidgets.controllers.group_and_sort_controllers.GroupAndSortController(**kwargs: Any)[source]
Bases:
AbstractGroupAndSortController
- Parameters
dynamic_table (DynamicTable) – the table wrt which the grouping is performed
group_by (str) – the column name from the dynamic table for which the grouping is performed
window (None or bool,) –
keep_rows (Iterable) – rows of dynamic table to consider in the grouping op
control_limit (bool) – whether to control the limit of the displayed rows
control_order (bool) – whether to control the order of the displayed rows based on other column
groups (dict) – dict(column_name=column_values) to work with specific columns only
nwbwidgets.controllers.misc module
nwbwidgets.controllers.time_window_controllers module
- class nwbwidgets.controllers.time_window_controllers.WindowController(**kwargs: Any)[source]
Bases:
HBox
,ValueWidget
,DescriptionWidget
Public constructor
- class nwbwidgets.controllers.time_window_controllers.RangeController(**kwargs: Any)[source]
Bases:
WindowController
Public constructor
- class nwbwidgets.controllers.time_window_controllers.StartAndDurationController(**kwargs: Any)[source]
Bases:
WindowController
Can be used in place of the RangeController.
- Parameters
tmax (float) – in seconds
tmin (float) – in seconds
start_value ((float, float)) – start and stop in seconds
description (str) –
kwargs (dict) –
- DEFAULT_DURATION = 5