8.3.5. Plotting utility classes
- class pymodaq.utils.scanner.scan_selector.ScanSelector(viewer_items=None, positions=None)[source]
Allows selection of a given 2D viewer to get scan info
respectively scan2D or scan Tabular from respectively a rectangular ROI or a polyline
- Parameters:
viewer_items (
List[SelectorItem]) – where the keys are the titles of the sources while the values are dict with keys * viewers: list of plotitems * names: list of viewer titlesselector_type (
str) – either ‘PolyLines’ corresponding to a polyline ROI or ‘Rectangle’ for a rect Roipositions (
List) – a sequence of 2 floats sequence [(x1,y1),(x2,y2),(x3,y3),…]
- Attributes:
- selector_type
- source_name
- viewers_items
Methods
value_changed(param)hide
remove_selector
scan_select_signal
show
show_selector
update_model
update_model_data
update_scan
update_selector_type
update_table_view