-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathgeneral.yaml
More file actions
30 lines (30 loc) · 2.41 KB
/
general.yaml
File metadata and controls
30 lines (30 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
general:
backend: default # The matplotlib backend used for visualization. `default` uses the system default, can specify specific backend (e.g. TKAgg, Qt5Agg, WXAgg).
imshow_origin: upper # The `origin` input of `imshow`, determining if pixel values are ascending or descending on the y-axis.
log10_min_value: 1.0e-4 # If negative values are being plotted on a log10 scale, values below this value are rounded up to it (e.g. to remove negative values).
log10_max_value: 1.0e99 # If positive values are being plotted on a log10 scale, values above this value are rounded down to it.
zoom_around_mask: true # If True, plots of data structures with a mask automatically zoom in the masked region.
inversion:
reconstruction_vmax_factor: 0.5
total_mappings_pixels: 8 # The number of source pixels used when plotting the subplot_mappings of a pixelization.
zoom:
plane_percent: 0.01
inversion_percent: 0.01 # Plots of an Inversion's reconstruction use the reconstructed data's bright value multiplied by this factor.
units:
use_scaled: true # Whether to plot spatial coordinates in scaled units computed via the pixel_scale (e.g. arc-seconds) or pixel units by default.
cb_unit: $\,\,\mathrm{e^{-}}\,\mathrm{s^{-1}}$ # The string or latex unit label used for the colorbar of the image, for example electrons per second.
scaled_symbol: '"' # The symbol used when plotting spatial coordinates computed via the pixel_scale (e.g. for Astronomy data this is arc-seconds).
unscaled_symbol: pix # The symbol used when plotting spatial coordinates in unscaled pixel units.
mat_plot:
figure:
figsize: (7, 7) # Default figure size. Override via aplt.Figure(figsize=(...)).
yticks:
fontsize: 22 # Default y-tick font size. Override via aplt.YTicks(fontsize=...).
xticks:
fontsize: 22 # Default x-tick font size. Override via aplt.XTicks(fontsize=...).
title:
fontsize: 24 # Default title font size. Override via aplt.Title(fontsize=...).
ylabel:
fontsize: 16 # Default y-label font size. Override via aplt.YLabel(fontsize=...).
xlabel:
fontsize: 16 # Default x-label font size. Override via aplt.XLabel(fontsize=...).