pixie16.ui.coincidence package

pixie16.ui.coincidence.app module

class pixie16.ui.coincidence.app.CoincidenceApp(*args: Any, **kwargs: Any)

Bases: BaseApp

An app that display arbitrary fast trigger positions and all coincidence signals that result.

It also includes the internal delay from the calculation of the coincidences (added to the validation window).

open_file(filename=None) None

pixie16.ui.coincidence.coincidence_plots module

class pixie16.ui.coincidence.coincidence_plots.PlotCoincidenceTraces(*args: Any, **kwargs: Any)

Bases: PlotOnly

Create the plot of fast triggers, delayed triggers, coincidences, validations, etc.

Devides the axes in several plotting areas: Fast triggers, coincidences, validation.

Each area is divides by large_gap and the plots in each area are divided by gap.

The class provides functions to make plotting easier.

calc_positions()
gap = 0.2
get_y_range(y)
in_x_range(x)
in_y_range(y)
large_gap = 1.6
onmove(event)
plot_coincidence(y, i, channel)
plot_fast_trigger_and_coinc_window(ft, window, i, channel)
plot_titles()
plot_validation(coinc, validation, ft, delayed, i, channel)

pixie16.ui.coincidence.main_widget module

class pixie16.ui.coincidence.main_widget.CoincidencePlot(*args: Any, **kwargs: Any)

Bases: QHBoxLayout

draw()
onclick(event)
onkey(event)
update()
update_channels()