darsia.SubregionAssistant#
- class SubregionAssistant(img, **kwargs)[source]#
Bases:
BaseAssistantGraphical assistant to define subregions in 2d and 3d.
Constructor.
- Parameters:
- img
darsia.Image Input image.
- img
Methods
Attributes
Name of assistant.
Coordinates uniquely defining a box.
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.
- coordinates#
Coordinates uniquely defining a box.
- name#
Name of assistant.