Commit graph

2,015 commits

Author SHA1 Message Date
Sebastian Boden
3b35c31b52 step_base_config.py: added consistency check for diff configs and fixed temp diffs
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6423 bc5caf13-1734-44f8-af43-603852e9ee25
2017-12-06 13:40:34 +00:00
Jan Christoph Terasa
45e2500a63 icu.py: Fixed message parser.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6420 bc5caf13-1734-44f8-af43-603852e9ee25
2017-12-05 10:38:39 +00:00
Jan Christoph Terasa
4cda1e7a81 telecom.py: Fixed ad_gen1() for msg_telecommands().
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6419 bc5caf13-1734-44f8-af43-603852e9ee25
2017-12-05 10:38:25 +00:00
Jan Christoph Terasa
4585733341 configtable.py: upload_index_patch now also creates TCs 128,103 which will execute the update.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6416 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-30 14:04:01 +00:00
Jan Christoph Terasa
79f804151d telecom.py: Add TC to send execute multiple table indices with an delay.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6415 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-30 14:01:42 +00:00
Jan Christoph Terasa
e8a816af78 i128event.py/solomsgclass.py: Add parameter 'mod' to pha reader and injection to only read/inject every 'mod'th event.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6412 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-29 13:31:30 +00:00
Jan Christoph Terasa
4f52292bb8 configtable.py: upload_index_patch is now non-destructive to the passed config.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6411 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-29 13:30:08 +00:00
Jan Christoph Terasa
873fd44e87 l3/step_sim.py: Use i128event pha_step class.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6410 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-29 13:10:57 +00:00
Stephan I. Böttcher
146da5dddb C'E4 LND X-mas config with 1s PPSS period (parameterized)
add e- DPS draft example
  add fs_config
  use FM claib for FS for now
  add model= token to scratch


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6409 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-29 11:39:37 +00:00
Jan Christoph Terasa
183c823974 step_base_config.py: Added differential temperature config.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6408 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-27 11:43:40 +00:00
Jan Christoph Terasa
5fc16f7df4 step_base_config.py: Add fft entry. Needed some additional work because fft exceeds message index block limit.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6407 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-24 14:50:51 +00:00
Jan Christoph Terasa
dddd209831 step/fft: Updated to run pulser test at 5 Hz per pulse instead of 1 Hz.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6406 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-24 14:49:57 +00:00
Jan Christoph Terasa
7828772729 step_ppss.py: Change OH setpoint to -20°C and OH duty cycle to 192.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6405 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-24 12:38:37 +00:00
Sebastian Boden
0242647159 hetept_base_config.py: now alway toggles the lower flag bit of data_products when the env config is changed
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6404 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-22 10:53:42 +00:00
Sebastian Boden
302ea795a2 solomsgclass.py: fix data_product() msg size to 3; this prevents problems with partial ppss diffs
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6403 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-22 10:50:48 +00:00
Jan Christoph Terasa
801481cc23 l3/step: Add correlated temperature calibration based on ANA board temperatures.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6402 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-22 01:11:48 +00:00
Sebastian Boden
bbbc17a8bd solo_data.py: added a class for Bernd's LET in C histogram
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6401 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-20 16:13:36 +00:00
Sebastian Boden
69b39bcec0 hetept_base_config.py: immediately send scratch, modulus and heater registers upon config change
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6400 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-20 13:01:26 +00:00
Sebastian Boden
d31e61caf0 solomsgclass.py: bugfix in read_reg()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6399 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-20 12:55:56 +00:00
Sebastian Boden
33273053d4 solo_data.py: step_cols now uses the same syntax as step_bins
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6398 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-19 18:47:23 +00:00
Sebastian Boden
64e2f56672 solo_data.py: generalised Christoph's bugfix from r6393
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6397 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-19 15:38:31 +00:00
Jan Christoph Terasa
46ef9df39f step_sim.py: Add option to filter small or large pixels from input data.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6396 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-17 12:35:33 +00:00
Jan Christoph Terasa
70028e9508 step_sim.py: Ignore TRUNCATED packets and clean hit number calculation code.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6395 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-17 10:01:00 +00:00
Jan Christoph Terasa
14c9e7d93e Reset registers before each run to erase spurious remnants from previous runs.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6394 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-17 09:21:42 +00:00
Jan Christoph Terasa
d9fb33b0f6 Fix STEP column data products.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6393 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-17 07:36:53 +00:00
Stephan I. Böttcher
f1ad450360 C'E4 LND ppss table: 2sec period, X-mas card
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6392 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-15 15:41:40 +00:00
Sebastian Boden
4bc662de94 het_pen.l3, het_calib.l3: improved the HET GCR trigger
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6391 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-13 16:40:31 +00:00
Sebastian Boden
fc95aed53b het_pen.l3: added code for a BCB trigger
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6390 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-10 18:59:27 +00:00
Sebastian Boden
ce6130a3c3 het_stopping.l3: ABnC HE3/He4 histogram size decreased to 16x32
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6389 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-10 15:04:35 +00:00
Stephan I. Böttcher
7f8c23bb09 hetept_l1l2: fix Bernds C LET trigger
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6388 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-10 11:48:07 +00:00
Stephan I. Böttcher
aed04d285e hetept_l1l2: Bernds C LET trigger
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6387 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-10 11:47:05 +00:00
Stephan I. Böttcher
7d6d306e9b hetept_l1l2: explicitly set window and coeff, reduce L2 window
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6386 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-10 11:45:33 +00:00
Sebastian Boden
823a1ff735 l3.py, l3sim.py: Experimental: added a PRINT instruction which is equivalent to a NOP,
but will print one or two register values in the simulator;
	it is meant for debugging purposes only, not for flight!
	syntax: PRINT RSPEC [, RSPEC]


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6385 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-09 12:51:01 +00:00
Sebastian Boden
29f0abd626 l3sim.py: fixed a bug in pha buffer generation
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6384 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-08 16:29:01 +00:00
Sebastian Boden
d3ba41dbd9 l3sim.py: implemented fastpath register access to faithfully simulate the behaviour of POKE and GOTO
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6383 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-08 16:15:54 +00:00
Sebastian Boden
74a4bd2503 hetept_l1l2.py: increased HET high-rate threshold for A outer from 2MeV to 6.2MeV
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6382 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-08 11:45:47 +00:00
Robert Elftmann
f51487f098 l3sim.py: moved log2 to separate function, so it can be easily imported and used in other modules
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6380 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-07 14:26:44 +00:00
Stephan I. Böttcher
e610a9d2f3 C'E4 LND L3 trigger
complete and debugged using
	Henning's iso_down_sim Geant4 data
	Henning's therman_neutron_iso_up Geant4 data
	June 2017 HIMAC hss data


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6379 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-07 10:37:15 +00:00
Stephan I. Böttcher
621dc69308 hetept_sim: use data after column 94 as comment for MC data
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6378 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-07 10:34:19 +00:00
Robert Elftmann
af3b3cef6c het_calib.l3: fixed a bug in AB cut values formula
het_stopping.l3: fixed a bug in ABC: use TOT instead of TOTK


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6377 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-06 18:24:57 +00:00
Robert Elftmann
bb3e1a6c6d het_stopping.l3: Increased 1D histogram length for ABnC from 128 to 160
hetept_config.l3: Adjusted AbnC memory adresses accordingly


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6376 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-02 14:48:02 +00:00
Sebastian Boden
33b68feddd dps_table.py: updated make_defs to new format
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6373 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-02 11:39:28 +00:00
Sebastian Boden
53ad54cf76 hetept_dps, hetept_ppss: updated clear and dump to new histogram addresses and sizes
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6372 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-02 11:38:00 +00:00
Robert Elftmann
06f5f9d0a9 het_calib.l3: Added cut values for stopping AB
het_stopping.l3: adapted histogram sizes and added comments
hetept_config.l3: change histogram adresses


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6369 bc5caf13-1734-44f8-af43-603852e9ee25
2017-11-01 13:55:37 +00:00
Sebastian Boden
7a740c9ec9 het_stopping.l3: rotate the ABnC histogram with gamma=-0.5
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6366 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-27 12:45:55 +00:00
Sebastian Boden
0c0d700863 hetept_base_config.py: sft now uses a ICU-recognised tag (LL_UNSTABLE);
config changes update and immediately send the scratch register with tag LL_CONSOLE


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6365 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-27 10:23:40 +00:00
Sebastian Boden
36f9242f04 ppss_table.py: diff() now flags items that are only different in one of the two ppss messages
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6364 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-27 10:19:49 +00:00
Sebastian Boden
465d51403e het_stopping.l3, het_calib.l3: AB is now in units of 31.25eV, just like A and B
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6362 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-26 12:23:30 +00:00
Jan Christoph Terasa
bbff90c46b step_fft.py: Send a whole pixel histogram instead of a half one.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6361 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-26 08:31:21 +00:00
Sebastian Boden
cd64a5a0ae hetept_base_config.py, hetept_ppss.py: Temperature changes now toggle
the upper flg bit of Nominal mode


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6360 bc5caf13-1734-44f8-af43-603852e9ee25
2017-10-25 14:25:38 +00:00