darsia.MonochromaticAssistant#

class MonochromaticAssistant(img, **kwargs)[source]#

Bases: BaseAssistant

Assistant to choose monochromatic image.

Initialize module.

Parameters:
imgdarsia.Image

Input image.

Methods

Attributes

name

Name of the module.

input_img

Input image.

img

Monochromatic image.

finalized

Flag indicating whether the assistant has been finalized.

background

Background image for plotting.

fig

Figure for analysis.

ax

Axes for analysis.

block

Flag controlling whether figure is blocking.

plot_grid

Flag controlling whether grid is plotted (in 2d).

threshold

Threshold for active voxels (in 3d).

relative

Flag controlling whether threshold is relative (in 3d).

scaling

Scaling of points (in 3d).

scatter

Flag controlling whether scatter plot is used (in 3d).

use_coordinates

Flag controlling whether plots use physical coordinates.

verbosity

Flag controlling verbosity.

cmap

Colormap for plotting.

finalized#

Flag indicating whether the assistant has been finalized.

img#

Monochromatic image.

input_img#

Input image.

name#

Name of the module.