roi_line_plot¶
-
class
pdsspect.roi_line_plot.ROILinePlotModel(image_set)[source]¶ Bases:
pdsspect.roi_plot.ROIPlotModelModel for ROI Line plot and widget
-
add_selected_color(color)¶ Select a color and inform views to display new color
Parameters: color ( str) – The color to add
-
data_with_color(color)[source]¶ Get the data inside the ROI color if the image has a wavelength
Parameters: color ( str) – The color of the ROIReturns: data – Sorted list of arrays of data by wavelength Return type: listornumpy.ndarray
-
image_set¶ PDSSpectImageSet– Image set that corresponds with the current view
-
image_sets¶ list– All the image sets, including the current one
-
register(view)¶ Register view with the model
-
remove_selected_color(color)¶ Remove a selected color and inform views to not display the color
Parameters: color ( str) – The color to remove
-
unit¶ str– Latex version ofpdsspect_image_set.PDSSpectImageSet.unit
-
unregister(view)¶ Unregister view with the model
-
-
class
pdsspect.roi_line_plot.ROILinePlotController(model, view)[source]¶ Bases:
pdsspect.roi_plot.ROIPlotControllerController for
ROILinePlotWidget
-
class
pdsspect.roi_line_plot.ROILinePlotWidget(model)[source]¶ Bases:
pdsspect.roi_plot.ROIPlotWidgetWidget to hold line plot and check boxes
Parameters: model ( ROILinePlotModel) – The model-
model¶ ROILinePlotModel– The model
-
controller¶ ROILinePlotController– The controller
-
-
class
pdsspect.roi_line_plot.ROILinePlot(model)[source]¶ Bases:
pdsspect.roi_plot.ROIPlotLine plot of ROI data
Parameters: model ( ROILinePlotModel) – The model-
model¶ ROILinePlotModel– The model
-