-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathgeneral.yaml
More file actions
53 lines (53 loc) · 4.22 KB
/
Copy pathgeneral.yaml
File metadata and controls
53 lines (53 loc) · 4.22 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
general:
backend: default # The matplotlib backend used for visualization. `default` uses the system default, can specify specific backend (e.g. TKAgg, Qt5Agg, WXAgg).
dpi: 150 # Resolution in dots per inch used when saving figures. Lower values reduce file size (e.g. 150 gives ~50% smaller files than 300 with negligible quality loss for diagnostic subplots).
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.
output_format: show # Default output format: "show" displays the figure interactively via plt.show(), "png"/"pdf"/etc. saves to file.
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.
colormap: autoarray # Default colormap for 2D plots. Use any matplotlib name to override (e.g. jet, viridis).
ticks:
extent_factor_2d: 0.75 # Fraction of half-extent used for 2D tick positions (< 1.0 pulls ticks inward from edges).
number_of_ticks_2d: 3 # Number of ticks on each spatial axis of 2D plots.
symbol_over_decimal: false # If true, place the arcsec double-prime symbol over the decimal point, e.g. 3.″8, instead of after the value, e.g. 3.8".
contour:
total_contours: 10 # Number of contour levels drawn over log10 (and explicit linear) plots.
include_values: true # Whether to label each contour line with its value.
colorbar:
fraction: 0.047 # Fraction of original axes to use for the colorbar.
pad: 0.01 # Padding between colorbar and axes.
labelrotation: 90 # Rotation of colorbar tick labels in degrees.
labelsize: 16 # Font size of colorbar tick labels for single-panel figures.
labelsize_subplot: 16 # Font size of colorbar tick labels for subplot panels.
mat_plot:
figure:
figsize: (7, 7) # Default figure size. Override via aplt.Figure(figsize=(...)).
subplot_shape_to_figsize_factor: (6, 6) # Per-panel size factor for subplots. figsize = (cols*fx, rows*fy).
title:
fontsize: 24 # Default title font size for single-panel figures.
title_subplot:
fontsize: 20 # Default title font size for subplot panels.
yticks:
fontsize: 22 # Default y-tick font size. Override via aplt.YTicks(fontsize=...).
yticks_subplot:
fontsize: 22 # Default y-tick font size for subplot panels.
xticks:
fontsize: 22 # Default x-tick font size. Override via aplt.XTicks(fontsize=...).
xticks_subplot:
fontsize: 22 # Default x-tick font size for subplot panels.
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=...).