darsia.RotationCorrectionAssistant#

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

Bases: BaseAssistant

Class defining an assistant to set up darsia.RotationCorrection.

Set up the assistant.

Parameters:
imgdarsia.Image

Image to be corrected.

**kwargs

"threshold" (float) – threshold for active voxels. "relative" (bool) – whether the threshold is relative or absolute. "scaling" (float) – scaling of the signal strength. "verbosity" (bool) – verbose output (default False).

Methods

Attributes

img

Image to be analyzed.

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.