8.5.5.4.2. pymodaq_gui.plotting.utils.filter module
- class pymodaq_gui.plotting.utils.filter.Filter[source]
Bases:
objectMethods
filter_data
register_activation_signal
register_target_slot
set_active
- class pymodaq_gui.plotting.utils.filter.Filter1DFromCrosshair(crosshair)[source]
Bases:
FilterMethods
update_axis
- class pymodaq_gui.plotting.utils.filter.Filter1DFromRois(roi_manager)[source]
Bases:
Filter- Parameters:
roi_manager (
ROIManager)graph_item (
PlotItems)
Methods
get_data_from_roi
get_slice_from_roi
update_axis
- class pymodaq_gui.plotting.utils.filter.Filter2DFromCrosshair(crosshair, graph_items, image_keys)[source]
Bases:
FilterMethods
mapfromview(x, y[, item_key])get item coordinates from view coordinates :type x:
(float) x coordinate in the view reference frame:param x: :type x:(float) x coordinate in the view reference frame:type y:(float) y coordinate in the view refernece frame:param y: :type y:(float) y coordinate in the view refernece frameget_data_from_spread
get_data_from_uniform
set_active
set_graph_items
- mapfromview(x, y, item_key='red')[source]
get item coordinates from view coordinates :type x:
(float) x coordinate in the view reference frame:param x: :type x:(float) x coordinate in the view reference frame:type y:(float) y coordinate in the view refernece frame:param y: :type y:(float) y coordinate in the view refernece frame- Returns:
x (
(float) coordinate in the item reference frame)y (
(float) coordinate in the item reference frame)
- class pymodaq_gui.plotting.utils.filter.Filter2DFromRois(roi_manager, graph_item, image_keys)[source]
Bases:
FilterFilters 2D data using 2D ROIs
- Parameters:
roi_manager (
ROIManager)graph_item (
UniformImageItem) – The graphical item where data and ROIs are plottedimage_keys (
(list) listofstring identifiertolink datastotheir graph_items. This means that in) – _filter_data, datas.data[key] is plotted on graph_items[key] for key in image_keys
Methods
get_slices_from_roi
get_xydata_from_roi
get_xydata_spread
- class pymodaq_gui.plotting.utils.filter.FourierFilterer(parent=None)[source]
Bases:
QObjectMethods
show_data(data)show data and fft :type data: (dict) with keys
'data', optionally'xaxis'and'yaxis':param data: :type data: (dict) with keys'data', optionally'xaxis'and'yaxis'calculate_fft
filter_changed
setUI
set_data
update_filter
update_plot