Commit graph

1,818 commits

Author SHA1 Message Date
Jan Christoph Terasa
1e8a969473 python/solo/cdpu: Add gen_seu_tcs.py. Execute via ipython %run -i magic.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6747 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-20 13:00:47 +00:00
Jan Christoph Terasa
0062ff6e99 cdpu/telecom.py: Calculate delay as ceil(delay).
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6746 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-20 12:57:24 +00:00
Jan Christoph Terasa
13d6b3a5a1 solo/cdpu/telecom.py: Add message delay as comment to 128,102 TCs.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6745 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-20 12:30:09 +00:00
Jan Christoph Terasa
5c8f5545bc step/ppss.py: Changed tag of SEU test TM.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6744 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-20 12:25:07 +00:00
Jan Christoph Terasa
18d284448b ppss.py: Disable op heater in seu_scan config.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6743 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-20 11:25:49 +00:00
Sebastian Boden
39f5430439 hetept/data.py: add upper limit checks for het stopping bins
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6742 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-19 16:00:21 +00:00
Robert Elftmann
dd72e50f38 HET-EPT/data.py: added values and entries for ABC DP items
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6741 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-19 14:19:17 +00:00
Jan Christoph Terasa
5c4626a74c solomsgclass.py: Read eeprom_id as utf8.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6740 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-19 11:49:21 +00:00
Sebastian Boden
60816c4549 hetept_stopping.l3: rotated the ABC histograms for better striding data products
hetept/data.py: support the change


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6738 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-18 17:33:13 +00:00
Robert Elftmann
590837fedd HET-EPT/data.py: added z values for heavy ions
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6736 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-18 13:05:25 +00:00
Jan Christoph Terasa
1431eee772 python/solo/configurations/icu: Added folder with HK packet extraction configuration from Alberto.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6735 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-18 12:00:13 +00:00
Sebastian Boden
624b1ea6c9 sologse.py: should now be python3 compatible (tested)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6734 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-17 18:33:26 +00:00
Jan Christoph Terasa
9a135a4c47 steinmsg.py: Moved HK calculations to new namespace.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6731 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-16 11:39:34 +00:00
Jan Christoph Terasa
eaefa8a866 solo/step: Add seu_scan config.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6728 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-10 16:37:12 +00:00
Sebastian Boden
6651b926c1 solorc-step.py: seu_scan uses configuration without start sequence
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6723 bc5caf13-1734-44f8-af43-603852e9ee25
2018-04-09 15:43:28 +00:00
Sebastian Boden
e738b9ef75 solo_data.py: better support for dps simulations
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6719 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-29 14:10:22 +00:00
Stephan I. Böttcher
bfcf21966b C'E4: template for how to override L1 thresholds in the EM model
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6716 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-28 09:38:14 +00:00
Stephan I. Böttcher
d460722ad8 C'E4: em_config(), with FM calibration
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6714 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-27 14:31:55 +00:00
Stephan I. Böttcher
db943eca88 C'E4 LND v0004a config dump
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6713 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-26 15:10:44 +00:00
Stephan I. Böttcher
f9ab050fe4 C'E4 LND v0004a config dump
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6712 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-26 15:10:11 +00:00
Sebastian Boden
008687794a solo_data: added bounds checks for all dps products
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6704 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-22 13:04:45 +00:00
Jan Christoph Terasa
a01ed6a6b7 ixmsg.py/itf_parser.c: Simplify temperature calculation and fix error in ixmsg indexing.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6702 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-20 13:39:36 +00:00
Sebastian Boden
53823233a9 solo_data.py: added tex and pdf methods to science_data; removed solo_printer.py
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6701 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-19 15:17:26 +00:00
Sebastian Boden
0bf848fb18 solo_data.py: solo_data objects now have a plot() and tex() function
solo_printer.py: reorganised and simplified


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6697 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-15 17:13:50 +00:00
Jan Christoph Terasa
56ac6c349d python/solo/step: Fix indentation on remanining files.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6689 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-13 08:49:34 +00:00
Jan Christoph Terasa
ed14a97df4 python/solo/l3.py: Define __next__ as well as next for all iterators.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6687 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-12 17:29:29 +00:00
Jan Christoph Terasa
6a3c7535ad python/solo: Move Python2-bytes-check from configtable.py to crc1021.py
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6686 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-12 17:26:30 +00:00
Jan Christoph Terasa
9ef4d37326 python/solo: Python3 compat:
configtable.py: 
        - Iterating over `bytes` instances directly yields integers, no need to
          call map(ord, ...)
        - Use explicit flooring integer division

    l3.py:
        - Use numbers.Integral instead of (int, long) to check if an input is
          an integral number
        - `file` objects in Python3 do not have next methods, but still
          implement an iterator which can be advanced by next() function
        - Use explicit flooring integer division
        - __nonzero__ class attribute is called __bool__ in Python3

    solomsgclass.py:
        - Use numbers.Integral instead of (int, long) to check if an input is
          an integral number
        - Explicitely define relational operators for ModulusValue objects,
          i.e. implement __lt__ and __eq__. __cmp__ is deprecated



git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6685 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-12 15:56:02 +00:00
Jan Christoph Terasa
345c69d9a5 python/solo/step: Fix indentation for several files.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6684 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-12 15:00:45 +00:00
Jan Christoph Terasa
f0ab0b8149 solomsgclass.py: Fix instantiation of L3 incrementer.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6682 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-11 17:07:40 +00:00
Jan Christoph Terasa
409fb93009 solomsgclass.py: Write SRAM can take a iterator and creates an unlimited sequence from it.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6681 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-11 16:55:28 +00:00
Robert Elftmann
5361c78adb hetept/data.py: Added DPs for CNO
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6679 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-09 12:38:44 +00:00
Sebastian Boden
bfd3d0a206 moving solopath back into the python folder
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6676 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-08 10:06:36 +00:00
Sebastian Boden
8e81b26395 ... done
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6675 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-08 10:05:06 +00:00
Sebastian Boden
1a011d5747 still moving
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6674 bc5caf13-1734-44f8-af43-603852e9ee25
2018-03-08 10:04:20 +00:00
Stephan I. Böttcher
d468cb92a2 C'E4 dps: fix x-mas telemetry
X-mas card readout was reading from the active page
	instead of the inactive page.  Only the first few minutes 
	of the current hour were transmitted.  Flipping the most significant
	bit of the hist memory dump command fixes the problem.

	This was verified in the Verilog backend.v:
        The hist_page is part of the master control registers,
	it is the MSbit of the active page address.
           wire        hist_page = enables[3];
	The L3 increments the active page
	   .addr({hist_page, hist_addr}),
	The DPS reads the inactive page
           .addr({~hist_page,a_win}) 
	The x-mas readout uses the inactive page by default
           l3d_aa <= {~l3d_a[18]^hist_page, l3d_a[17:0]};
	Conclusion: the MSbit must not be set in the readout command.


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6596 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-18 14:49:57 +00:00
Sebastian Boden
5b0eea2ded solomsg: added method _export_with_msg which wraps the exported
functions with a given message class.
configtable, ppss_table: use this method and move the ixmsg and stepmsg 
	imports into the relevant step modules


git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6587 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-16 15:11:16 +00:00
Jia Yu
ab5341198d ce4_dps: delete 10min neutrals
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6586 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-16 13:16:12 +00:00
Stephan I. Böttcher
1c9ac9acb1 C'E4 LND DPS: 8 bins for TID and LET @ 1min
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6578 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-15 13:42:49 +00:00
Stephan I. Böttcher
a223af761d C'E4 LND DPS: add TID and LET @ 1min cadence
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6577 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-14 15:42:25 +00:00
Jan Christoph Terasa
0c6e4d61db step_base_config.py: Move enc_base for all models to 0x20000.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6566 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-08 08:39:24 +00:00
Jan Christoph Terasa
be72b5ee80 dpsbug_ppss.py: Set OH dutycycle to 0. Read STEP HK.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6565 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-07 13:43:33 +00:00
Jan Christoph Terasa
d17573492e dpsbug_ppss.py: Clear SEU counters every minute, do not send them during dribble.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6563 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-07 11:05:21 +00:00
Jan Christoph Terasa
96c270cfe1 dpsbug_base_config.py: Remove import of non-existant module.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6560 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-05 14:26:23 +00:00
Jan Christoph Terasa
8affbbe8c3 solomsgclass.py: Fixed indentation.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6559 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-05 14:22:48 +00:00
Jan Christoph Terasa
b334261d34 dpsbug: 'Minimal' config which shows bug in histmem/SRAM read.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6558 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-05 13:55:56 +00:00
Jan Christoph Terasa
dd11ce9c11 solomsgclass.py: Add clear_first option to write_sram to improve speed.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6557 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-05 12:57:53 +00:00
Jan Christoph Terasa
457c26a953 dpsbug: use STEP v01 data products.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6556 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-05 12:40:33 +00:00
Sebastian Boden
515aba3e30 dpsbug: added a simplified dpsbug_data class to probe the behaviour more easily
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6555 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-05 11:24:21 +00:00
Jan Christoph Terasa
8498fa60f5 dpsbug: Remove clear from dps.
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6554 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-03 09:21:49 +00:00