prysm.conf#
Configuration for this instance of prysm.
- class prysm.conf.Config(precision=64, phase_cmap='inferno', image_cmap='Greys_r', lw=3, zorder=3, alpha=1, interpolation='lanczos')#
Bases:
objectGlobal configuration of prysm.
Create a new Config object.
- Parameters:
precision (dtype-like) – Real floating dtype, or integer bit-depth such as 16, 32, or 64
phase_cmap (str) – colormap used for plotting optical phases
image_cmap (str) – colormap used for plotting greyscale images
lw (float) – linewidth
zorder (int, optional) – zorder used for graphics made with matplotlib
alpha (float) – transparency of lines (1=opaque) for graphics made with matplotlib
interpolation (str) – interpolation type for 2D plots
- property precision_complex#
Precision used for complex array computations.
- Returns:
Complex dtype associated with precision precision used for complex arrays
- Return type: