magmap.gui.verifier_editor module

Blob verifier viewer GUI.

class magmap.gui.verifier_editor.VerifierEditor(img5d, blobs, title=None, fig=None, fn_update_blob=None)[source]

Bases: ImageSyncMixin

Editor to verify blobs.

class BlobView(plot_ed, blob)[source]

Bases: object

Storage class for each view.

blob: ndarray

Displayed blob.

plot_ed: PlotEditor

Plot Editor.

fn_update_blob: Optional[Callable[[np.ndarray, Optional[np.ndarray]], np.ndarray]]

Handler for updating a blob; defaults to None.

show_fig()[source]

Set up the figure.

show_views()[source]

Show blob views.