Sebastian Boden
bf297f0557
l3.py: integrated conditional expressions into the expressions hierarchy; this allows for .if (a>b)|(b>c)
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6325 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-09 11:20:55 +00:00
Stephan I. Böttcher
2f89c2ad91
ce4_ppss: calculate .bps()
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6324 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-07 22:19:04 +00:00
Stephan I. Böttcher
132888bf02
solomsg: fix .read_reg() syntax error
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6323 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-07 22:14:15 +00:00
Sebastian Boden
010d045b35
solomsgclass.py: read_reg: added support for old firmware
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6316 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-06 16:01:26 +00:00
Jan Christoph Terasa
2784d5cad6
solomsgclass.py: Added kwargs parameters to read_reg.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6315 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-06 14:18:12 +00:00
Sebastian Boden
32b3ed8196
het_stopping.l3: use TOT instead of TOT*LET for 1D proton and electron histograms
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6314 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-05 15:30:51 +00:00
Sebastian Boden
51eb0b41ac
dps_table.py: made diff function more general, previously it only worked
...
if data products didn't change in number or length;
now they are first aligned in idx and then diffed
hetept_base_config: made changes to support alignment
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6313 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-05 08:23:31 +00:00
Sebastian Boden
d875107174
High-rate mode and temperature changes can now each separately set one flg bit in
...
the dps_product header. This is done by the ppss table modifying itself, which unfortunately means
we need an additional two (one each for low/high) ppss entries per dps_product.
We still have some reserve though.
hetept_config_*.py: adapted to new syntax
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6312 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-30 19:21:37 +00:00
Sebastian Boden
1ded260fc3
hetept_base_config: small bugfix
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6311 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-29 15:28:11 +00:00
Sebastian Boden
0d64a8ffb9
Changes to make high/low-rate mode swiches fully othogonal to temperature changes
...
solomsgclass: allow partial updating of ppss entries (mod or msg)
heteptana: optionally create additional config msgs for high-rate mode (or another idx)
hetept_ppss: mark the duplicate ana entries and switch them on/off with enable_mode()
hetept_base_config: update the configurations for low/high-rate mode
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6310 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-28 13:33:24 +00:00
Jan Christoph Terasa
fd90c08d5c
step_ppss.py: Use disabled pixel thresholds if thresholds are None.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6308 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-27 09:41:25 +00:00
Sebastian Boden
7d040e0a54
hetept_base_config.py: verbosity changes
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6307 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-26 08:43:35 +00:00
Sebastian Boden
834127b58e
l3.py, dps_table.py, ppss_table.py: allow diffing with an arbitrary number of other instances at once;
...
a change in any of them will cause the relevant item to be added to the diff
hetept_base_config.py: now fully supports differential temperature and env profiles
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6306 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-25 15:47:40 +00:00
Sebastian Boden
3e7ae2b3ed
hetept_base_config.py: now complains if diff configs are not compatible,
...
i.e. you cannot switch between all of them and return to the original state
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6305 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-25 13:20:46 +00:00
Sebastian Boden
a119c1a4a0
hetept_base_config.py: reorganized; creates one nominal base_config entry and
...
differential entries for other selected environments and/or temperatures
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6304 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-25 10:32:49 +00:00
Sebastian Boden
57ba6e3473
l3.py: diffs now consider two consecutive instructions, since solomsg always writes two instructions at once
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6303 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-25 09:24:07 +00:00
Stephan I. Böttcher
87f7eca161
ce4.l3: fix thermal neutrons
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6302 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-22 12:15:33 +00:00
Sebastian Boden
9f8c706352
l3.py: fixed a bug in the generation of l3 diffs
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6301 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-22 10:55:40 +00:00
Stephan I. Böttcher
1c2db6a52e
ce4.l3: fix nthr, its in eV, not A
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6300 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-22 10:27:19 +00:00
Stephan I. Böttcher
3bba4ea2f2
ce4_sim.py: load ce4_l3_trigger() and ce4_l1l2().triggermask()
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6299 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-21 23:36:52 +00:00
Stephan I. Böttcher
f018948bea
ce4.l3: new charged particle trigger
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6298 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-21 20:54:52 +00:00
Stephan I. Böttcher
59c83e3a86
ce4.l3: work in progress
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6297 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-21 18:44:21 +00:00
Stephan I. Böttcher
bf9c0419db
ce4.l3: charged particles only in A1. TODO: rewrite LET
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6296 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-21 13:42:21 +00:00
Sebastian Boden
b29c08526b
l3.py: .macro, .for and .loop now also support the ${} syntax for variable replacement
...
This also allows for macros with more than 9 arguments, i.e. ${10}
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6292 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-20 10:27:49 +00:00
Stephan I. Böttcher
28c3bc31c8
ce4.l3: use .loop, fix some log output
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6291 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-19 19:46:48 +00:00
Stephan I. Böttcher
dee42e30f1
l3: gold file target, -g dis add %(instr)
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6290 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-19 19:20:56 +00:00
Sebastian Boden
1cda7a95bf
l3.py: added support for macro-loops directives which repeat a
...
code fragment while replacing one argument with arbitrary strings
Syntax:
.loop varname a bb c 2
.print $varname
.endloop
Result:
a
bb
c
2
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6289 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-19 15:34:47 +00:00
Sebastian Boden
21be848949
het_stopping.l3: fixed hist_base bug, which prevented proper usage of directional histograms;
...
separated min and max cuts for ABC histograms
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6288 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-19 10:04:08 +00:00
Sebastian Boden
f8a221551e
het_stopping.l3: split the ABC histogram into four for electrons(1D), protons(1D), helium (2D) and ions(2D)
...
het_calib.l3: new cut values for ABC stopping are only placeholders
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6287 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-19 08:55:43 +00:00
Sebastian Boden
0aff8d7e32
l3.py: fixed so that shift operators work again
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6284 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-18 12:18:50 +00:00
Stephan I. Böttcher
c4a0ee6ab0
C'E4 LND L3: minor fix
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6253 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-09 10:09:05 +00:00
Stephan I. Böttcher
df1de687ca
C'E4 LND L3: complete and documented
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6249 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-05 15:54:59 +00:00
Stephan I. Böttcher
3822f07f77
C'E4 l3: fix up the existing code
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6247 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-01 15:53:17 +00:00
Stephan I. Böttcher
af8f02f2d9
l3.py:
...
operators ~ & |
define variables .PASS and .PASS2
avoid duplicate entries in .forwards
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6246 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-01 15:52:26 +00:00
Stephan I. Böttcher
217b31deee
l3: add call_trace() to error messages
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6244 bc5caf13-1734-44f8-af43-603852e9ee25
2017-09-01 12:49:11 +00:00
Sebastian Boden
bd5fc5a1c5
solo_printer.py: changed the code structure to make it more readable and maintainable
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6230 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-30 10:17:52 +00:00
Sebastian Boden
3bf1fbd67b
dps_table.py: simulating the dps now uses poisson sampling from a given memory image
...
solo_data.py: added functions to generate these memory images for hetept (work in progress)
solo_printer.py: can now show the data rates (from the simulation) for each product and section
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6226 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-29 15:50:55 +00:00
Jan Christoph Terasa
806f7d15de
solo_data.py: Allow setting env=None.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6223 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-28 14:24:57 +00:00
Jan Christoph Terasa
9f958b8b54
solo_data.py: Corrected STEP_basic data product.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6222 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-28 14:22:16 +00:00
Sebastian Boden
65f60050ba
hetept_ppss.py: moved reserved dps entries to just before the clear
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6219 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-28 13:56:27 +00:00
Sebastian Boden
b7b0b957ba
hetept_ppss.py: reserve ppss slots for additional data_products
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6214 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-25 15:36:33 +00:00
Sebastian Boden
8d465c16e1
hetept_config, hetept_config_himac, hetept_config_stopping: removed outdated and unused configs
...
hetept_config_em1: updated to work with current dps
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6213 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-25 12:26:54 +00:00
Sebastian Boden
6ba8071fba
step_dps.py: now uses science data from solo_data.py; step_config files still need to be adapted
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6206 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-23 12:13:57 +00:00
Stephan I. Böttcher
367d9aad47
C'E4 LND L3: uncommitted work towards a new L3 trigger
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6205 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-23 09:48:43 +00:00
Sebastian Boden
017e11aa82
solo_data.py: bugfix
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6203 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-23 09:42:46 +00:00
Sebastian Boden
57533d2cf7
solo_data.py: Implemented remaining data products from step_dps.py
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6202 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-23 09:11:46 +00:00
Stephan I. Böttcher
42da22c334
HET/EPT FS config copied and adaptetd from FM1
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6199 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-21 11:00:32 +00:00
Sebastian Boden
3b2ebbab80
solo_data.py: added most STEP data products from step_dps.py
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6196 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-18 09:12:28 +00:00
Sebastian Boden
058aa76e81
solo_data.py: small bugfix for ept and het boxes
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6195 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-17 13:25:50 +00:00
Sebastian Boden
0b46406a75
solo_data.py: - added EPT penetrating data products
...
- added solo_data classes for HET stopping histograms
- allows to simulate unit with PHA data
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6193 bc5caf13-1734-44f8-af43-603852e9ee25
2017-08-10 15:06:12 +00:00