Sebastian Boden
25e2f68eb3
l3.py: added new macro type which can replace a variable with an
...
evaluated expression; useful for setting options from defines, e.g.
.var x = EXPR
.for i 0 $x
NOP
.endfor
.endvar
increment_sram.l3: use this to set loop length from defines
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6550 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-01 13:44:19 +00:00
Sebastian Boden
67d5ceed7a
increment_sram.l3: disabled choosing length of loop at compile time; not (yet) supported by l3.py
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6549 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-01 10:47:24 +00:00
Sebastian Boden
cb5ec057cd
solomsgclass.py: fixed bug introduced in last commit
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6548 bc5caf13-1734-44f8-af43-603852e9ee25
2018-02-01 09:59:08 +00:00
Sebastian Boden
27ce74bd8b
solomsgclass: added some checks
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6546 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-31 15:19:22 +00:00
Sebastian Boden
a9236a8b3a
increment_sram.l3: made number of NOPs between HISTs definable,
...
default is 10 (plus GOTO, etc.)
solomsgclass.py: clear_sram and write_sram now use the correct hist_base
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6545 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-31 14:08:06 +00:00
Sebastian Boden
a72dbcf48a
increment_sram.l3: increments the SRAM address given by the first pha record
...
with the value given in the second pha record
uses a loop, so will be quite slow for large values
solomsgclass.py: added functions clear_sram and write_sram; be very careful
when using them since they will overwrite l3code and dps entries
in the FPGA and could interfere with the ppss
TODO: take care of sram page toggling
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6544 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-31 11:40:49 +00:00
Sebastian Boden
3480cc24c9
cleaned up some obsolete and unused files in python/l3/
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6542 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-29 17:00:30 +00:00
Sebastian Boden
635f94e203
python/step/*: minor changes to syntax, no effect on config
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6541 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-29 14:07:14 +00:00
Sebastian Boden
17001db89d
solo_printer: fixed a bug introduced by changes in solo_data
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6538 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-26 11:58:34 +00:00
Lauri Panitzsch
b716d3d521
plot_STEP_sci.py: added plot and data return functionality
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6537 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-25 15:55:56 +00:00
Sebastian Boden
5a48bbcb7f
minor changes to multiple files to make them more python3 friendly
...
(no changes to functionality under python2)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6536 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-25 14:15:49 +00:00
Jan Christoph Terasa
c11136d01a
step_calib.l3: Multiply ped by cal for dummy calibration.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6533 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 15:40:02 +00:00
Jan Christoph Terasa
2b1ae09d2e
Makefile: Remove references to STEP_*correlated*.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6532 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 15:39:33 +00:00
Jan Christoph Terasa
27c2d7ea49
l3/step: Fixed ADC_OFFSET option.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6531 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 15:39:05 +00:00
Jan Christoph Terasa
d58f91719a
l3/step: Allow ADC_OFFSET option when temp calib is not used.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6530 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 14:46:33 +00:00
Lauri Panitzsch
55b6410ac3
plot_STEP_sci.py: minor but basic adaptions
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6529 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 14:38:00 +00:00
Lauri Panitzsch
dd358aa552
plot_STEP_sci.py: removed git dependencies;\nadapted to new svn structure;\nuse solo_data output;\nstill work in progress
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6528 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 13:42:45 +00:00
Jan Christoph Terasa
d8f3e20d41
step_config_fs.py: Move enc_base back to 0x0.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6527 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 11:41:45 +00:00
Jan Christoph Terasa
b9139e99cd
l3.py: Fixed error message in loop and for.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6526 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 11:41:05 +00:00
Jan Christoph Terasa
817d4c4b3b
step_ppss.py: Read STEP L1 counter SEU counters.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6525 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-23 11:39:24 +00:00
Stephan I. Böttcher
0764391e60
C'E4 LND FM config EEPROM burn version 3
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6517 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-22 15:21:42 +00:00
Stephan I. Böttcher
727104f7f3
ce4_config.defsfile()
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6516 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-22 15:09:51 +00:00
Stephan I. Böttcher
f22b6009de
ce4_config: include solo_msg.revision
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6515 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-22 15:04:05 +00:00
Stephan I. Böttcher
1f97654cb2
ce4_exec(): new arg partition=0
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6514 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-22 13:28:31 +00:00
Stephan I. Böttcher
cbfab7bdfa
C'E4 config: dumpfile(), text=False
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6513 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-22 13:24:47 +00:00
Stephan I. Böttcher
a72f1e27ae
C'E4 config: allow selectin index addr, messages addr, version 3
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6512 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-22 12:46:49 +00:00
Stephan I. Böttcher
8d88ac4ff4
C'E4 write_eeprom(): allow index only/messages only writes
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6511 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-22 12:45:47 +00:00
Sebastian Boden
56711de19b
step_data, solo_data: added support for returning the pixels of all sections
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6508 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-19 17:25:33 +00:00
Stephan I. Böttcher
051a2359d6
C'E4 config: allow to pass an [m]addr top ce4_table, for EEPROM partitions
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6507 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-19 16:15:53 +00:00
Jan Christoph Terasa
7fd161b874
step: Allow per-model setting of encbase and phabase.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6506 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-19 11:15:24 +00:00
Lauri Panitzsch
72468955d9
plot_STEP_sci.py: still work in progress but more evolved
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6505 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 18:26:09 +00:00
Sebastian Boden
c777cde362
moved STEP-specific scripts from python/cdpu/ to python/step/
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6504 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 17:05:06 +00:00
Sebastian Boden
0447428a31
moved hetept specific files from python/cdpu/ to python/hetept/
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6503 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 16:49:11 +00:00
Sebastian Boden
7e7286c582
Cleanup:
...
moved ixmsg.py, steinmsg.py, plot_STEP_sci.py to python/step/
removed unused hetept_l1l2_stream.py, hetept_l1l2trigger.py, hktable.py
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6502 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 16:31:14 +00:00
Sebastian Boden
11d7245b87
removed obsolete EDACdecoder.py
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6501 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 16:10:48 +00:00
Sebastian Boden
e69ff3292f
moved configtable.py from cdpu/ to python/
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6500 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 15:34:59 +00:00
Sebastian Boden
ae17de9379
hetept_data.py: small changes to het_ion_spectrum
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6499 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 15:24:59 +00:00
Sebastian Boden
64386bfa02
solo_data.py: reorganized to make data structures more consistent,
...
ebins now fully support two-dimensional histograms
step_data.py: make use of new ebin functionality to simplify step_bins and step_cols
These are just syntactic changes, the resulting data products are exactly the same as before!
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6498 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 11:39:59 +00:00
Sebastian Boden
83cbe6de06
hetept_dps.py: data products now keep order as defined in hetept_data
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6497 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-18 11:31:57 +00:00
Jan Christoph Terasa
3da37148b3
step_ppss.py: Correctly tag STEP L1 counters.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6489 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-16 15:16:12 +00:00
Jan Christoph Terasa
b2347f4289
step_dps.py: Maintain order in which data_products have been added by step_data.py.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6488 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-16 14:40:37 +00:00
Jan Christoph Terasa
b7b8e2e0ea
step_base_config.py: Remove debug messages.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6487 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-16 14:38:26 +00:00
Jan Christoph Terasa
5306772bd6
step_base_config.py: Add pulser+SCI to slot 17. Remove before flight.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6486 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-16 11:31:00 +00:00
Sebastian Boden
1d574e8494
split solo_printer.py into solo_printer and hetept/hetept_printer
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6485 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-11 11:29:13 +00:00
Sebastian Boden
421d786cc9
split solo_data into solo_data.py, step/step_data.py and hetept/hetept_data.py
...
also updated all imports of solo_data to the appropriate file
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6484 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-10 18:30:39 +00:00
Sebastian Boden
83bbb68338
solo_data.py: renamed HETEPT environments back to CLOSE/FAR
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6483 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-10 16:05:12 +00:00
Sebastian Boden
b52afa8dc3
solo_data.py: changed syntax for defining skewed DPs for HET and EPT
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6482 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-10 11:17:02 +00:00
Stephan I. Böttcher
fa2b90ac7b
C'E4 L3: fix Tritium - ³He overlap in ABCD
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6481 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-05 13:42:11 +00:00
Stephan I. Böttcher
f1f1ee99d9
C'E4 telemetry estimate
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6480 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-02 12:34:21 +00:00
Stephan I. Böttcher
6b9dcdb845
C'E4 telemetry estimate
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6479 bc5caf13-1734-44f8-af43-603852e9ee25
2018-01-02 12:34:11 +00:00