<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pct.wiki.uib.no/index.php?action=history&amp;feed=atom&amp;title=Threshold_Scan</id>
	<title>Threshold Scan - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pct.wiki.uib.no/index.php?action=history&amp;feed=atom&amp;title=Threshold_Scan"/>
	<link rel="alternate" type="text/html" href="https://pct.wiki.uib.no/index.php?title=Threshold_Scan&amp;action=history"/>
	<updated>2026-05-05T00:12:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://pct.wiki.uib.no/index.php?title=Threshold_Scan&amp;diff=971&amp;oldid=prev</id>
		<title>Vei046: Created page with &quot;==Usage==   The Threshold Scan is used to evaluate the threshold of the analog front-end of the ALPIDE Sensor. It configure the ALPIDE to have a threshold &#039;&#039;&#039;X&#039;&#039;&#039;. It then inj...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pct.wiki.uib.no/index.php?title=Threshold_Scan&amp;diff=971&amp;oldid=prev"/>
		<updated>2022-01-24T14:19:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Usage==   The Threshold Scan is used to evaluate the threshold of the analog front-end of the ALPIDE Sensor. It configure the ALPIDE to have a threshold &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039;. It then inj...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Usage== &lt;br /&gt;
&lt;br /&gt;
The Threshold Scan is used to evaluate the threshold of the analog front-end of the ALPIDE Sensor. It configure the ALPIDE to have a threshold &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039;. It then injects a charge &amp;#039;&amp;#039;&amp;#039;C1&amp;#039;&amp;#039;&amp;#039; ranging from 0-50 DAC units to see the response in the pixel-matrix. The threshold of a pixel is determined by when it starts to respond to the injected charge. The result is presented for the entire pixel-matrix, where the average of the pixel thresholds are calculated.&lt;br /&gt;
&lt;br /&gt;
==How To==&lt;br /&gt;
To run the test navigate to the test folder &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd tests&lt;br /&gt;
&lt;br /&gt;
$ python3 threholdscan.py --board=BOARD --tctype=TCTYPE --chips=CHIPS&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The test outputs a time-and-date.root file located in &amp;#039;&amp;#039;production_tests/results/&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This file is automatically analyzed when you run the thresholdscan.py script. The analysis script is located in &amp;#039;&amp;#039;production_tests/plot/&amp;#039;&amp;#039;. A plot with the results from the test is provided and stored in &amp;#039;&amp;#039;production_tests/results/plots/&amp;#039;&amp;#039;. The plot will have the following name threshold_scan_chip_id_{}.png&lt;br /&gt;
The result and classification is also provided in the terminal. The ALPIDE sensor can get &amp;#039;&amp;#039;&amp;#039;GOLD, SILVER, BRONZE&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;NOK&amp;#039;&amp;#039;&amp;#039; as a classification based on the result of the test. &lt;br /&gt;
&lt;br /&gt;
The config file for the test is located in &amp;#039;&amp;#039;production_tests/config/&amp;#039;&amp;#039;. 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.&lt;/div&gt;</summary>
		<author><name>Vei046</name></author>
	</entry>
</feed>