darsia.LabelsAssistantMenu#
- class LabelsAssistantMenu(img, background=None, **kwargs)[source]#
Bases:
BaseAssistantModule for LabelsAssistant to choose what to do with labels.
Purpose is to forward which module to use to LabelsAssistant. Detailed instructions are printed to screen.
Initialize module.
- Parameters:
- img
darsia.Image Input image.
- background
Optional[darsia.Image] Background image.
- img
Methods
Attributes
Name of the module.
imgImage to be analyzed.
backgroundBackground image for plotting.
figFigure for analysis.
axAxes for analysis.
blockFlag controlling whether figure is blocking.
plot_gridFlag controlling whether grid is plotted (in 2d).
thresholdThreshold for active voxels (in 3d).
relativeFlag controlling whether threshold is relative (in 3d).
scalingScaling of points (in 3d).
scatterFlag controlling whether scatter plot is used (in 3d).
use_coordinatesFlag controlling whether plots use physical coordinates.
verbosityFlag controlling verbosity.
cmapColormap for plotting.
- name#
Name of the module.