Commit graph

1,894 commits

Author SHA1 Message Date
Jan Christoph Terasa
989a2173ef step_sim.py: removed handling of small pixels.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6099 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 13:19:00 +00:00
Jan Christoph Terasa
61b3404685 l3sim.py: Fixed pha handling.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6098 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 13:18:24 +00:00
Jan Christoph Terasa
88a9e9dd67 step_temp_calib.l3: Fixed pedestal calculation.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6097 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 13:16:37 +00:00
Stephan I. Böttcher
9e0997f117 ce4_config: main() dumps fm condif to stdout
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6096 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:32:37 +00:00
Stephan I. Böttcher
3ac2d0b36d ce4_config: add TID in B1H histogram
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6095 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:18:32 +00:00
Stephan I. Böttcher
b43d4e0d49 ce4_config.do_sft()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6094 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:17:50 +00:00
Stephan I. Böttcher
5d58585791 sft_ce4: fix .close_table()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6093 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:17:06 +00:00
Stephan I. Böttcher
c5cf16b268 solomsg: msg_print.do_sleep
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6092 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-09 11:16:06 +00:00
Jan Christoph Terasa
9926e3c820 l3/step.l3: Removed dead code from step_l3_trigger.py and renamed some files to sensible names.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6090 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-08 14:22:41 +00:00
Stephan I. Böttcher
7587c3bebe C'E4 LND FM L1 thresholds
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6089 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-08 13:46:53 +00:00
Stephan I. Böttcher
858b191384 C'E4 LND FM room temperature calibration
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6088 bc5caf13-1734-44f8-af43-603852e9ee25
2017-06-08 13:46:20 +00:00
Stephan I. Böttcher
93a8f2474e C'E4 config, as used during noise troubleshooting
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6082 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-31 13:04:36 +00:00
Sebastian Boden
97918cde4d convert_STEP_calib_pickle.py: Added header with .version and .name
STEP_F*_T-correlated_calibration.l3: added Revision and Id keywords
step_calib_new.l3: now loading from the T_correlated files


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6077 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-30 09:54:17 +00:00
Jan Christoph Terasa
3eb2bc022c STEP/l3: Apply temp calibration to logical pixel mapping instead of physical.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6076 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-29 14:20:17 +00:00
Jan Christoph Terasa
67712b78b9 step.l3: Tuned PHA record generation.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6075 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-29 13:56:26 +00:00
Jan Christoph Terasa
67694e8b9b l3/STEP: Convert temp calib pickles to plain text files for L3 consumption.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6074 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-29 13:28:30 +00:00
Jan Christoph Terasa
1e5fe58c19 step.l3: Major rewrite using macros.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6059 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 18:55:31 +00:00
Sebastian Boden
27f1303484 l3.py: added support for nested for loops and multi-character variable name :)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6056 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 13:31:43 +00:00
Jan Christoph Terasa
5535e9548d l3.py: Check that loop variable is a single character.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6055 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 13:17:49 +00:00
Jan Christoph Terasa
99120b4bda l3.py: Do not allow nested for-loops.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6054 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 13:12:37 +00:00
Jan Christoph Terasa
5cabb8a8de step_calib_new.l3: use for loop.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6053 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 10:43:24 +00:00
Jan Christoph Terasa
9fa1026c11 l3.py: Added for-loop to directives.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6052 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-19 10:43:04 +00:00
Sebastian Boden
6b41592d84 step_calib_new.l3: An attempt to do STEP temperature calibration in the l3 code;
it will require the temperature coefficients to be written into l3 files,
  which should be easily automatable by a script.


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6051 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-18 15:07:13 +00:00
Sebastian Boden
3126a66688 solo_data.py: some data product changes for QL_EPT
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6050 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-18 09:52:03 +00:00
Jan Christoph Terasa
5566099c03 solo_data.py: Fixed STEP QL histogram bins. Fixed parenthesis in HET QL product.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6048 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-15 11:51:28 +00:00
Sebastian Boden
88900bfc19 solo_data.py: added an example QL entry for HET
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6047 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-05 13:16:32 +00:00
Sebastian Boden
c169b06bcd het_calib.l3: set cut ratio for het_pen segment comparison to 10%
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6046 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-02 13:49:27 +00:00
Sebastian Boden
5dde43bbd6 solo_printer.py: moved numpy and pylab imports
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6045 bc5caf13-1734-44f8-af43-603852e9ee25
2017-05-02 12:00:04 +00:00
Stephan I. Böttcher
0910db11ff hetept_base_config: fix breakage, do_calib(), pass fix_pqm()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6042 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-24 20:57:39 +00:00
Stephan I. Böttcher
800382cc46 hetept_config_pqm: fix for new make_hetept()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6041 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-24 20:56:22 +00:00
Stephan I. Böttcher
6338148c89 hetept ppss: do not disable sample readout in calib mode
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6040 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-24 20:54:51 +00:00
Stephan I. Böttcher
75dbef18fe solo_printer: do abort at ImportError pylab
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6039 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-24 20:45:32 +00:00
Lauri Panitzsch
f4a7a4cdde STEP_FM_calibration_for_IX_-xx.x_degC.dat: editor-readable version of calibration parameters for certain temperatures for STEP FM as determined during the final thermal calibration.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6035 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-19 12:38:57 +00:00
Lauri Panitzsch
b223139695 STEP_FM_T-correlated_calibration.dat: editor-readable version of the temperature-correlated calibration parameters for STEP FM as determined during the final thermal calibration.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6034 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-19 12:36:34 +00:00
Lauri Panitzsch
27034aaecf STEP_FM_testpulser_Ba133_calibration_JUPYTER.py: converted the original *.ipynb file to a python file - due to the different character of ipynb some re-arranging was done. Results are identical. Code was cleaned and documented as well.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6033 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-19 12:34:21 +00:00
Sebastian Boden
055a2f97d7 het_pen.l3, het_calib.l3: no more segment addition,
instead reject event if segment energy too similar


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6031 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-12 14:42:18 +00:00
Sebastian Boden
c98317a83d het_pen.l3, het_calib.l3: implemented addition of segments if the
lesser segment is >30keV and has a valid pulse age
	also fixed some whitespace inconsistencies


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6030 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-11 12:33:43 +00:00
Stephan I. Böttcher
ee11fc3cf2 solomsg: C'E4 temp sensor bias R1=12k
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6027 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 20:13:08 +00:00
Stephan I. Böttcher
6ccc3aca09 ppss_table: insertion with larger moduli
C'E4 LND needs insertions at larger moduli.
	class insertion_slot() constructor gains a mod=None parameter.
	class ppss_msg() gets attribute insertion_modulus=modulus_always.
	The insertion_slot_reset modulus will be initialized by .fix_insertion_slots().
	.arm_insertion_slot() copies the reset modulus to the slot modulus.


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6026 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 20:10:46 +00:00
Sebastian Boden
9ab5b776fc solo_data.py: added bytag and byunit methods to science_data
solo_printer.py: restructured and added support for displaying data_rates


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6023 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 13:21:56 +00:00
Jia Yu
b4624c9bc3 C'E4 config: noo reset_modulus for temp changes
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6022 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 11:36:53 +00:00
Lauri Panitzsch
86c735b6e1 STEP FM thermal calibration: removed former and bad calibration data to avoid confusion: STEP_FM_T-correlated_calibration_IX*
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6021 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 11:36:05 +00:00
Jia Yu
3850f9806a solomsg: fix ce4_exec()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6020 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 11:36:05 +00:00
Lauri Panitzsch
d5c5662fb5 STEP FM thermal calibration: New results based on the thermal calibration performed in the scope of NCR-0040
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6019 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 11:25:29 +00:00
Stephan I. Böttcher
c2832543a5 solomsg.ce4_exec(): add icu mode
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6018 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 10:47:53 +00:00
Stephan I. Böttcher
8f420bebd0 C'E4 config: revert the table reoderings, that were only present in the documentation to please a clueless reviewer
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6017 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-07 09:18:16 +00:00
Stephan I. Böttcher
c3463ad116 C'E4 icu table: arrempt to reproduce Jia's hexdump mangling :-(
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6016 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-06 20:19:18 +00:00
Jia Yu
f87cedcf00 C'E4 config: fix table[3] is temp 0 mode
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6015 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-06 09:42:22 +00:00
Sebastian Boden
a17c6cfe8b solo_data.py: some improvements for step_bins
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6014 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-05 15:03:46 +00:00
Jan Christoph Terasa
51eb914245 solo_data.py: Properly indent code.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6013 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-05 08:45:48 +00:00