ReconstructedWave¶
-
class
shampoo.ReconstructedWave(reconstructed_wave)[source] [edit on github]¶ Bases:
objectContainer for reconstructed waves and their intensity and phase arrays.
Attributes Summary
intensityReconstructed intensity ( ndarray, real)phaseReconstructed, unwrapped phase ( ndarray, real)reconstructed_waveReconstructed wave ( ndarray, complex)Methods Summary
plot([phase, intensity, all, cmap])Plot the reconstructed phase and/or intensity images. Attributes Documentation
Methods Documentation
-
plot(phase=False, intensity=False, all=False, cmap=<matplotlib.colors.LinearSegmentedColormap object>)[source] [edit on github]¶ Plot the reconstructed phase and/or intensity images.
Parameters: phase : bool
Toggle unwrapped phase plot. Default is False.
intensity : bool
Toggle intensity plot. Default is False.
all : bool
Toggle unwrapped phase plot and . Default is False.
cmap :
ColormapMatplotlib colormap for phase and intensity plots.
Returns
——-
fig :
FigureMatplotlib figure object
ax :
AxesMatplotlib axis object
-