Sebastian Boden
2e3b428c34
l3sim.py: added a subclass l3pipe which implements HIST memory and PHA buffers
...
hetept_sim, step_sim: now inherit from this class; replacement for l3pipe.py
hetept_sim reads trigger_class from REG STATUS lines
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5997 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-30 12:27:50 +00:00
Stephan I. Böttcher
97b0296c69
C'E4 L1L2: more LET geometry factor, Heavy Ions
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5995 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-28 22:11:25 +00:00
Stephan I. Böttcher
af6f10bb59
C'E4 ppss: science is issued in sec 9, not sec 0
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5993 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-28 20:23:32 +00:00
Sebastian Boden
a6d41dedfc
hetept_dps.py: added function simulate_unit(), which takes PHA data,
...
e.g. EHETEPT or 0x57ea, pipes it through the l3 trigger,
then simulates the DPS and returns the data rate
dps_table.py, hetept_sim.py: some changes to accomplish this
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5990 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-28 13:25:14 +00:00
Sebastian Boden
d83b4bf735
l3pipe.py: fixed whitespace inconsistency
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5989 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-28 13:19:56 +00:00
Stephan I. Böttcher
070cdd3e23
C'E4 L2 trigger: proposal for flight
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5988 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-27 15:59:21 +00:00
Stephan I. Böttcher
577902376f
C'E4 config fixes. SCIMEM delivers spectra
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5987 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-24 16:40:49 +00:00
Stephan I. Böttcher
89f08c6dbe
ce4_config for em1 w/ l3
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5986 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-24 13:06:02 +00:00
Stephan I. Böttcher
f8ae4855d2
l1.del_bits()
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5985 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-24 13:04:19 +00:00
Stephan I. Böttcher
242d2537fd
C'E4 ppss: (re)assign PPS slots to telemetry
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5982 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-23 20:18:34 +00:00
Sebastian Boden
3ab1679140
l3.py: added new function $LOGR(x), which returns int(floor(16*log2(x)))
...
ept_calib.l3, het_calib.l3: use $LOGR for all ratio calculations
==> compiled code remains unchanged
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5981 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-23 15:40:22 +00:00
Stephan I. Böttcher
e83c83673c
l3 $LOG:
...
revert -c 5976
$LOG was supposed to yield exactly the same as the LOG opcode.
The LOG opcode adds 0.499 to the argument.
For L3 calib calculations, the old $LOG works better.
LOG opcode: 16×log₂(2x+0.99)
$LOG: 16×log₂(2x)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5977 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-23 12:50:47 +00:00
Sebastian Boden
505f4339d1
l3.py: changed LOG function to int(16*log2(n+.5)+16) as in verilog implementation
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5976 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-23 11:06:29 +00:00
Sebastian Boden
e0fc923ee4
dps_table.py: further fixes for ccsds packets
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5966 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-21 13:24:15 +00:00
Sebastian Boden
4668cc5f20
dps_table: now outputs correctly formatted CCSDS packet during simulation
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5963 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-20 16:10:53 +00:00
Sebastian Boden
a4bb3282b3
solo_data.py: added packetid according to gnumeric table
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5962 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-20 09:39:08 +00:00
Sebastian Boden
43aa68da7a
dps_table.py: fixed a bug and changed set_tmod() to work
...
step_dps.py: minor fix in do_lowlatency()
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5961 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-18 12:46:20 +00:00
Sebastian Boden
686a795573
dps_table.py: fixed the crc issue and implemented ccsds packet generation
...
and data_rate calculation and verbosity settings
compression.py: fix for log2(0)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5960 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-18 11:57:49 +00:00
Sebastian Boden
c56fd83c4f
dps_table, solo_data, compression: dps_table.simulate() now simulates the dps scheduler
...
and returns (mostly) functional itf binary packets. crc still needs to be fixed
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5954 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-17 17:00:22 +00:00
Sebastian Boden
c202d09f39
dps_table.py, solo_data.py: allow simulating of an entire dps_table
...
generated from science_data for a given modulus and
L3 histogram memory image
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5947 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-15 18:38:16 +00:00
Stephan I. Böttcher
d90a6f01b6
ce4_config: link streamtest to entry [15]
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5939 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-13 20:34:12 +00:00
Stephan I. Böttcher
387870c5b7
solomsg: add .ce4_exec(), add parameter a=0 to read_eeprom_id
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5938 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-13 20:33:08 +00:00
Stephan I. Böttcher
5c0b8b09c9
ce4_l1l2: enable more L1 triggers
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5930 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-13 08:54:59 +00:00
Stephan I. Böttcher
2ab150095b
ce4_ppss: op-heater api extension
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5929 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-13 08:54:02 +00:00
Stephan I. Böttcher
802b554895
hetept_config: nom[2][ and HK[1] do full reset, twice
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5928 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-13 08:52:20 +00:00
Stephan I. Böttcher
b0153433c2
solomsg: msg0() clear bits after setting bits
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5927 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-13 08:50:50 +00:00
Sebastian Boden
c015aeb9bd
solo_printer.py, ept_2d.dat: added 2d bin plotting for EPT pretty printer
...
solo_data.py: some fixes for ept_win
hetept_dps.py: restored energy_table(), might still be useful
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5926 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-10 16:03:13 +00:00
Sebastian Boden
89278b6685
solo_printer.py: framework for pretty printing of solo data products
...
- usage: import this file from solo_data; make_pdf(science(l3))
- pretty_printer is a general class, ept_2d_printer, etc. implement specific formatting
- each solo_data class needs to define its pretty_printer (unless default)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5924 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-06 09:12:21 +00:00
Stephan I. Böttcher
f71d98474f
2017-03-03-em1-test-4_cal
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5923 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-05 20:39:38 +00:00
Stephan I. Böttcher
f8a9aeaf57
ce4_l1l2: noisy channels
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5920 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-04 22:43:45 +00:00
Stephan I. Böttcher
b87cf10132
solomsg: .ana_size(), .read_hk()
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5919 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-04 22:42:53 +00:00
Stephan I. Böttcher
806bb238bb
dps_table: add BITRATE, BITS_PER_BYTE parameters, for C'E4, where BITS_PER_BYTE=41
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5918 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-02 22:37:25 +00:00
Stephan I. Böttcher
7c84fb6268
C'E4: L1 L2 config, streamtest
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5917 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-02 21:25:32 +00:00
Stephan I. Böttcher
da468b8a24
hetept_streamtest: comment fix
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5916 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-02 21:24:27 +00:00
Stephan I. Böttcher
14f5672e7f
solomsg: class HK_TEMP, CE4_TEMP
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5915 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-02 21:23:44 +00:00
Sebastian Boden
a33ada5b1f
solo_data.py: some fixes for ept and het window bins
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5914 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-02 14:48:01 +00:00
Sebastian Boden
5d845952f4
solo_data.py: added some 2D channels to EPT for testing
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5907 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-28 17:31:37 +00:00
Sebastian Boden
20cc57de2b
solo_data: added some channels for EPT burst mode
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5905 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-28 15:06:22 +00:00
Sebastian Boden
134601470b
solo_data.py: allow selection of slices in ebins
...
(useful for skipping every second DP-item in a channel)
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5904 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-28 14:25:55 +00:00
Stephan I. Böttcher
b19416971d
solo_data: het_ion_spectrum
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5903 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-28 11:28:00 +00:00
Stephan I. Böttcher
bca3f2a475
solo_data: HET stop AB
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5902 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-28 08:33:32 +00:00
Sebastian Boden
e6f87b1ee4
solo_data.py: small fixes
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5901 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-28 07:55:11 +00:00
Stephan I. Böttcher
48770997ae
solo_data: het_pen
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5900 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 22:01:34 +00:00
Sebastian Boden
37ebd5f544
solo_data.py: fixed a bug in bpo calculation in lbins
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5899 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 19:36:27 +00:00
Stephan I. Böttcher
3253a59f88
solo_data:
...
merge with Sebastians implementation of relativistic particles
only one env for far mode: FAR
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5898 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 19:21:22 +00:00
Sebastian Boden
5ef803c341
solo_data.py: implemented placeholder data products for nominal and burst
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5897 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 18:35:55 +00:00
Stephan I. Böttcher
d03f16c9a7
solo_data:
...
TAGS["flg"] (for QLALT)
force env match
"explicitly" env match
hetept_dps.py -e QLDEFS,explicitly > QL.defs
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5896 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 16:32:10 +00:00
Stephan I. Böttcher
aecfa18f05
solo_data:
...
Global fixed units of energy keV=1.0, MeV=1000.0
Check energy range of lbins
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5895 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 13:52:21 +00:00
Sebastian Boden
f1f05b17b3
solo_data.py: reinserted lbins fix
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5894 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 11:32:16 +00:00
Stephan I. Böttcher
62cbc914d9
solo_data: remove unused attribute
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5893 bc5caf13-1734-44f8-af43-603852e9ee25
2017-02-27 02:11:19 +00:00