CentroidTrackerFull
Module for CentroidTrackerFull
- class pcdswidgets.imaging.common.centroid_tracker_full.CentroidTrackerFull(*args, **kwargs)[source]
- after_set_macro(macro_name, value)[source]
Hook for additional actions to take when a macro is set.
This exists so you can extend this behavior without overriding set_macro, which could otherwise make it easy to break the widget.
So, you override after_set_macro instead and define what you’d like to change after specific values are updated.
Note that this runs after all built-in effects of set_macro.
- get_marker_style_state() dict[source]
Return the centroid marker’s full visual state, for persistence.
- get_threshold_state() dict[source]
Return the threshold mode and its associated line-edit value, for persistence.
- get_view_saver_properties() dict[source]
Resolved ViewSaver getter/setter pairs for this widget’s saved state.
getter returns a QSettings-storable value setter accepts and applies raw stored value
- link_parent_widgets(parent) None[source]
Attach the marker to the parent’s PyDMImageView and, if given, mirror it onto a second view.
The source ROI offset (correcting the raw readback into an absolute value) is read directly from EPICS via cam_prefix and source_roi_plugin. secondary_image_view (if given) mirrors the marker onto a second view, offset the same way via secondary_roi_plugin