File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44from matplotlib import pyplot as plt
55print ("Switched to:" ,matplotlib .get_backend ())
66
7+ # Two synchronized TCSPC devices — combined histogram stream
8+ # ==========================================================
9+ # This demo demonstrates how photon events from two synchronized PicoQuant
10+ # time tagging devices can be combined into a single histogram stream.
11+ #
12+ # Setup:
13+ # The master device provides the timing reference and controls the measurement
14+ # start. Its 10 MHz reference output is connected to the external reference
15+ # input of the slave device. The master's measurement-active signal is
16+ # additionally connected to the slave control input C1.
17+ #
18+ # The slave is configured to use the external 10 MHz reference and waits for the
19+ # measurement-active gate from the master before acquiring data. Selected slave
20+ # input channels are then imported into the master's data stream using a snAPI
21+ # stream manipulator.
22+ #
23+ # The resulting histogram contains both the master's own channels and the
24+ # imported slave channels on a common time axis. This is useful for multi-device
25+ # measurements that require synchronized acquisition across two TCSPC units while
26+ # processing the combined photon stream as one measurement.
27+
728if (__name__ == "__main__" ):
829
930 master = "1000509"
5879 plt .title ("Counts / Time" )
5980 plt .pause (0.1 )
6081
61- plt .show (block = True )
82+ plt .show (block = True )
You can’t perform that action at this time.
0 commit comments