Commit graph

124 commits

Author SHA1 Message Date
Stephan I. Böttcher
6b1afaa4ae step.ppss.do_testpulser(): n=2 2021-05-10 23:20:52 +02:00
Stephan I. Böttcher
72b4015734 step.ppss: do_testpulser(what='A') 2021-05-10 23:11:05 +02:00
Stephan I. Böttcher
beadbd06d3 step_pixels: add what='A' and what='D', detector order, activity order 2021-05-10 23:01:45 +02:00
Stephan I. Böttcher
51d33a9bc2 step.ppss: avoid name clash, s/do_pulser/do_testpulser/ 2021-05-10 23:00:19 +02:00
Stephan I. Böttcher
5c41c56cc0 step ppss: add .do_pulser()
Fire a test pulse to each channel at the beginning of each PHA_cadence.

The test_regs are reset every second with the usual ix config.
Each large or small pixel gets enabled in both test_regs
once during the first 16 seconds of the PHA cadence.
For the first 30 seconds of the PHA_cadence both test pulsers are fired
once per second @5000µs.

ppss_modulus learns to fire on consecutive ranges of seconds.  length
must be a valid cadence, phase must be aligned to length.

New step_pixels.pixels() enumerates physical STEP pixels.

PHA_candence is set to 600s.
.do_pulser() default is enabled.

TODO? To fire 16 times instead of 30, three entries are required for
each ix:

 ppss_modules(PHA_cadence, 0, 10)
 ppss_modules(PHA_cadence, 10, 5)
 ppss_modules(PHA_cadence, 15)

All this is untested.
2021-05-08 13:48:57 +02:00
Jan Christoph Terasa
d50542c411 Added some comments/documentation to stepmsg.config_all_acq. 2021-03-25 11:30:20 +00:00
Jan Christoph Terasa
44e20904fd Revert "Prepare STEP v7."
This reverts commit 7760fe6115.
2021-03-02 06:59:22 +01:00
Jan Christoph Terasa
8d67506508 Revert "Use STABLE and UNSTABLE channels for INT and MAG data, respectively."
This reverts commit 25f2353b2d.
2021-03-02 06:59:05 +01:00
Jan Christoph Terasa
c141bc3905 Use proper modern string formatting. 2021-02-22 23:05:50 +01:00
Jan Christoph Terasa
309d2c4970 Add small comment. 2021-02-22 19:57:04 +01:00
Jan Christoph Terasa
82f4eb6fbc Generalize temp_calib file reader. 2021-02-22 19:50:37 +01:00
Jan Christoph Terasa
274b3306f0 Fix writing of .bins file. 2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
25f2353b2d Use STABLE and UNSTABLE channels for INT and MAG data, respectively. 2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
b0710fd74a Revert "Get rid of CLOSE and FAR mode, and use the now free flg parameter for INT and MAG differentiation."
This reverts commit c8a89d6d52.
2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
69b88bfc1a Get rid of CLOSE and FAR mode, and use the now free flg parameter for INT and MAG differentiation. 2021-02-08 18:01:57 +01:00
Jan Christoph Terasa
7760fe6115 Prepare STEP v7. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
35aab0d4ad Add DPS reserve slots to make sure insertion slots stay at the same position. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
3b94b6e5e6 Fix formatting of high energy loss events. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
2616c32e25 Fix energy/nuc calculation. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
1f4c87ca24 Calculate geomfacs in energy/nuc for ions. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
aadd8d0d1b Add script to combine geomfacs for INT and MAG: 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
48dbd01561 Revert "Process integral and magnet head data into one file."
This reverts commit 5f64ae244d.
2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
a1b9caf046 Process integral and magnet head data into one file. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
4104bdba6e Fix L3class passing for geometry factor calculations. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
405c9d033a Use version number. 2021-02-08 18:01:56 +01:00
Jan Christoph Terasa
e857fa995a Filename includes version number. 2020-04-20 14:42:58 +02:00
Jan Christoph Terasa
88bf9058c9 Change STEP PHA buffering strategy: Buffer number is the (logical) pixel number. 2020-04-20 11:52:23 +02:00
Jan Christoph Terasa
bdd94a000e All STEP DPS start at 4 keV instead of 2 keV. 2020-04-16 18:28:27 +02:00
Jan Christoph Terasa
ff2176dfbb Adapt to new simfile location. 2020-04-16 16:34:45 +02:00
Jan Christoph Terasa
847eb0d365 Speed up responses.py. 2020-04-16 16:34:08 +02:00
Jan Christoph Terasa
0f453666ac Also calculate angular responses. 2020-04-15 19:13:57 +02:00
Jan Christoph Terasa
779e2559c8 remove debug prints. 2020-04-15 18:40:12 +02:00
Jan Christoph Terasa
3f6d46ea82 fix bug in l3sim 2020-04-15 18:22:49 +02:00
Jan Christoph Terasa
dfe11800f8 Add shellscript to automate procedure. 2020-04-15 17:59:22 +02:00
Jan Christoph Terasa
0ec684cc80 Output to named file. 2020-04-15 17:58:59 +02:00
Jan Christoph Terasa
1e3b74cd7d Further improve geomfac calculation script. 2020-04-15 17:27:59 +02:00
Jan Christoph Terasa
1ad14b3b68 Update l3 simulator to output event index. 2020-04-15 17:12:43 +02:00
Jan Christoph Terasa
107ccbadbd Output event index as timestamp in formatter. 2020-04-15 17:10:33 +02:00
Jan Christoph Terasa
cee4e95584 Add geometry factor calculation files. 2020-04-15 16:37:32 +02:00
Jan Christoph Terasa
bccd24ee5e Add histfile option to l3sim. 2020-04-15 16:14:42 +02:00
Jan Christoph Terasa
58b50fbff2 Export dpsbins. 2020-04-15 16:14:00 +02:00
Jan Christoph Terasa
78bc116ee2 Set version of FS to 6. 2020-04-15 15:36:18 +02:00
Jan Christoph Terasa
93126e9052 Set all thresholds to 11 (~3.2 keV). 2020-04-15 15:36:18 +02:00
Jan Christoph Terasa
c3da359338 Expand threshold twiddling method. 2020-01-06 12:33:42 +01:00
Jan Christoph Terasa
bc8102ab43 Use open() instead of file() (deprecated in Py3). 2019-12-09 10:44:10 +01:00
Jan Christoph Terasa
36ef429130 Add ppss_table pretty printer. 2019-11-29 15:38:07 +01:00
Jan Christoph Terasa
fd3af4857d Remove dead code 2019-11-25 17:52:54 +01:00
Jan Christoph Terasa
bd385fa8b1 Rediscover and comment method to generate TCs for threshold setting. Closes issue #3 2019-11-23 16:14:43 +01:00
Jan Christoph Terasa
7d9154e211 Get rid of VCS specific code in configs 2019-11-18 13:46:50 +01:00
Jan Christoph Terasa
d017439daa Use Python 3 2019-11-15 15:50:49 +01:00