Skip to content

s-fifteen-instruments/tdc1_GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sfifteen tdc1 GUI (1.3.1)

GUI UPDATED v1.3.1 30/5/2022: In Pairs mode, the counts graph now shows individual channel counts, while the numbers on the right of the graph display coincidences between channels (from top to bottom) 1-3, 1-4, 2-3, 2-4.

INFO

  1. This program is a Graphical User Interface (GUI) for s-fifteen intruments' TDC1 Timestamp Device https://s-fifteen.com/products/timestamp.

CONTACT

  1. For any bug reports/suggestions, please contact the developer at info@s-fifteen.com or g3.ganjunherng@gmail.com.
  2. It would be helpful if you included the error messages printed out to the terminal or whatever program that is catching the errors. (Do not worry if you cannot find this.)

INSTALLATION QUICKSTART

Install the S15lib python package directly with

pip install git+https://github.com/s-fifteen-instruments/pyS15.git

Alternatively you can clone or download the package from https://github.com/s-fifteen-instruments/pyS15.git. Open a command-line terminal, go into the repository folder and type

pip install -e .
  1. Full installation instructions at https://github.com/s-fifteen-instruments/pyS15.
  2. Other python package requirements: see file 'requirements.txt'. Install with pip or preferred mode of installation.
  3. Run tdc1_funcnew.py with your Python compiler of choice (This GUI was developed in Visual Studio Code with Python 3.9.2 64-bit).

image

HOW TO USE

  1. Ensure device is connected to PC.

  2. Select Device from drop down menu. select device

  3. Select GUI Mode - singles/pairs. (This is NOT equivalent to the TDC1 mode. For instance the pairs mode uses the TDC1's timestamp mode (3) for its g2 calculations. The modes correspond to the graph tabs - singles:counts, pairs:coincidences.) select mode

  4. Select a Logfile if logging is desired. It is best to write the data to a new, blank Logfile. Leave field empty if not desired. select logfile

  5. Select Integration time (singles) / acquisition time (pairs) by pressing the arrows or typing in manually then hitting enter. select int

  6. Select Plot Samples. This determines how many data points to display on the graph at once. Only works for pairs mode. Singles mode plots up to 500 data points by design. select PLS

  7. The timer checkbox can be selected for a finite experiment runtime. select timer

  8. Hit 'Live Start' button.

  9. If in Singles mode, select the respective radio buttons to see the plots. select singles

  10. If in Pairs mode, select start and stop channel (Default Start:1, Stop:3), histogram bin width. Select pairs

  11. If in pairs mode, switch to the 'coincidences' tab to view the histogram. The value in the 'Stop Ch offset' spinbox allows you to set a software delay for coincidence counting. Select offset

  12. Use mouse to interact with the graph - Click and drag to pan, scroll to zoom, right click for more viewing options. The graph will not auto-scroll if you do this. To return to auto-scroll mode, right click and look for the 'Auto' radio button under the X axis or Y axis context menus. image

  13. Right clicking on the graph and clicking on 'export...' brings up an options window for exporting the graph. export options

  14. To begin a new round of data collection, click the 'Clear Data' button on the respective graphs.

  15. The GUI is under continual development and may bug out if certain buttons are clicked too many times or clicked in unexpected order. Please report any errors to the contact addresses listed at the top of this README. Meanwhile, simply closing and restarting the GUI should fix the errors. These are usually due to certain background flags that have not been set to the right state. Restarting the GUI sets all the flags to their default state and you may begin again from a clean slate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages