Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
daq:decomp_calibrations [2017/02/27 12:54]
peter_bender
daq:decomp_calibrations [2017/02/27 13:49]
weisshaa
Line 4: Line 4:
 == detmap files == == detmap files ==
  
-The calibration procedure starts with a detmap file.  Such a file exists for each quad.  Each file is a plain text list of the offset and gain of each channel of the quad respectively. ​ The channels are seperated ​by new lines. The order of the channels is in the the daq order (i.e the order they arrive at the digitizer, remember Q1 is different). ​  The naming scheme of the files is important for the rest of the scripts to work; current convention is **detmap_Q1.txt**,​ where the 1 could be replaced by any quad number.+The calibration procedure starts with a detmap file.  Such a file exists for each quad.  Each file is a plain text list of the offset and gain of each channel of the quad respectively. ​ The channels are separated ​by new lines. The order of the channels is in the the daq order (i.e the order they arrive at the digitizer, remember Q1 is different). ​  The naming scheme of the files is important for the rest of the scripts to work; current convention is **detmap_Q1.txt**,​ where the 1 could be replaced by any quad number.
  
 A truncated example of a detmap file:  A truncated example of a detmap file: 
Line 22: Line 22:
  
 Above are the first ten channels of the one detmap file.  The first column is the offset, the second column is the gain. The channel is indicted by the row number. Above are the first ten channels of the one detmap file.  The first column is the offset, the second column is the gain. The channel is indicted by the row number.
 +
 +detmap files live in gretina account as ~/​DecompParam/​detmap_YYMMDD
  
 == Splitting the detmap files == == Splitting the detmap files ==
  
-After the creation of the detmap files, they must be split into the corresponding cores and segments. ​ Assuming the above formatted file and standard file convention; this can be done with the script+After the creation of the detmap files, they must be split into the corresponding cores and segments. ​ Assuming the above formatted file and standard file convention; this can be done with the script ​run in same directory where the detmap files live.
- +
-<​code>​  +
-~analysis/​packages/​Calibrations/​split_cal.py +
-</​code>​ +
 This is script is run by passing it the detmap file to be split: This is script is run by passing it the detmap file to be split:
  

QR Code
QR Code daq:decomp_calibrations (generated for current page)