common
Common functions for PROCESS summary plots.
load_plot_image(name)
Load an image bundled with the PROCESS plotting resources.
Source code in process/core/io/plot/summary/common.py
41 42 43 44 45 | |
place_plot_image(axis, name, bounds, *, zorder=10)
Place a bundled image in an inset axes and hide its frame.
Source code in process/core/io/plot/summary/common.py
48 49 50 51 52 53 | |
get_pulse_timings(mfile, scan)
Construct pulse timings from an MFILE scan.
Source code in process/core/io/plot/summary/common.py
56 57 58 59 60 61 62 63 64 65 66 | |
box_style(colour, alpha=1.0, linewidth=2, **kwargs)
Matplotlib boxstyle
Source code in process/core/io/plot/summary/common.py
69 70 71 72 73 74 75 76 77 | |
text_layout(fig, h_align='left', v_align='bottom')
Matplotlib text layout
Source code in process/core/io/plot/summary/common.py
80 81 82 83 84 85 86 87 | |
setup_axis(axis, xmin, xmax, ymin, ymax)
Matplotlib axis setup
Source code in process/core/io/plot/summary/common.py
90 91 92 93 94 95 96 | |
add_colourbar(contour_fill, axis, colourbar_axis)
Add colourbar to axis
Source code in process/core/io/plot/summary/common.py
99 100 101 102 103 104 | |
color_key(axis, mfile, scan, colour_scheme)
Function to plot the colour key
Source code in process/core/io/plot/summary/common.py
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | |