gaps_online.tracker.visual#

Plot occupancy, spectra, projections etc.

Functions

plot_strip_lines(ax, det, layer[, color])

Use lines to indicate detector strips.

prepare_layer_fig(layer[, projection])

Set up figure and axis objects for a 2d projection of tracker layers

strip_lines()

Assuming there ia a single SiLi-waver at 0,0, return positions and line lengths to indicate the grooves which separate the strips with lines.

gaps_online.tracker.visual.strip_lines()#

Assuming there ia a single SiLi-waver at 0,0, return positions and line lengths to indicate the grooves which separate the strips with lines. These can then be used by either hlines or vlines depending on the orientation of the wafer

gaps_online.tracker.visual.plot_strip_lines(ax, det, layer: int, color='k')#

Use lines to indicate detector strips. Automatically apply correct orientation for even/odd layers.

# Arguments:

ax : axis instance to plot on det : iterable providing x,y coordinates layer : tracker layer (0-9)

gaps_online.tracker.visual.prepare_layer_fig(layer, projection='XY')#

Set up figure and axis objects for a 2d projection of tracker layers