pygmi.rsense.change_viewer#

Change Detection Viewer.

Classes#

MyMplCanvas

Matplotlib canvas widget for the actual plot.

SceneViewer

Scene viewer GUI.

Module Contents#

class pygmi.rsense.change_viewer.MyMplCanvas(parent=None, width=10, height=8, dpi=100)#

Bases: matplotlib.backends.backend_qtagg.FigureCanvasQTAgg

Matplotlib canvas widget for the actual plot.

Parameters:
  • parent (parent, optional) – Reference to the parent routine. The default is None.

  • width (float) – Width of the plot.

  • height (float) – Height of the plot.

  • dpi (int) – Dots per inch of the plot

capture()#

Capture.

Return type:

None.

compute_initial_figure(dat, dates)#

Compute initial figure.

Parameters:
Return type:

None.

update_plot(dat, dates)#

Update plot.

Parameters:
Return type:

None.

class pygmi.rsense.change_viewer.SceneViewer(parent=None)#

Bases: pygmi.misc.BasicModule

Scene viewer GUI.

Parameters:

parent (parent, optional) – Reference to the parent routine. The default is None.

setupui()#

Set up UI.

Return type:

None.

settings(nodialog=False)#

Entry point into item.

Parameters:

nodialog (bool, optional) – Run settings without a dialog. The default is False.

Returns:

True if successful, False otherwise.

Return type:

bool

updatescenelist()#

Update the scene list.

Returns:

Boolean to indicate success.

Return type:

bool

saveproj()#

Save project data from class.

Return type:

None.

manip_change()#

Change manipulation or bands.

Return type:

None.

nextscene()#

Get next scene.

Return type:

None.

prevscene()#

Get previous scene.

Return type:

None.

newdata(indx)#

Get new dataset.

Parameters:

indx (int) – Current index.

Return type:

None.

capture()#

Capture all scenes in the current view as an animation.

Return type:

None.