Analog Scan
Usage
The Analog Scan is used to evaluate the analog front-end of the ALPIDE Sensor. It configure the ALPIDE to have a threshold X. It then injects a charge C1<<X to look for noisy pixels in the pixel-matrix. If a pixel reports a hit when C1 is low the pixel is deemed noisy. It then injects a charge C2>>X to look for dead pixels. If a pixel is not responding to the injected charge C2 it is deemed to be dead. The test can be used to either test a subset of pixels or the entire pixel-matrix.
How To
To run the test navigate to the test folder
$ cd tests
$ python3 analogscan.py --board=BOARD --tctype=TCTYPE --chips=CHIPS --matrix=MATRIX
The test outputs a time-and-date.root file located in production_tests/results/
This file is automatically analyzed when you run the analogscan.py script. The analysis script is located in production_tests/plot/. A plot with the results from the test is provided and stored in production_tests/results/plots/. The plot will have the following name analog_scan_chip_id_{}.png The result and classification is also provided in the terminal. The ALPIDE sensor can get GOLD, SILVER, BRONZE or NOK as a classification based on the result of the test.
The config file for the test is located in production_tests/config/. The DAC Settings section can be edited in order to alter the performance of the ALPIDE. It is mainly the following settings which are of interest for the test: VCASN, ITHR, IDB, VRESETD.