Jia Yu
f87cedcf00
C'E4 config: fix table[3] is temp 0 mode
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6015 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-06 09:42:22 +00:00
Sebastian Boden
a17c6cfe8b
solo_data.py: some improvements for step_bins
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6014 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-05 15:03:46 +00:00
Jan Christoph Terasa
51eb914245
solo_data.py: Properly indent code.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6013 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-05 08:45:48 +00:00
Jan Christoph Terasa
6916e525cb
solo_data.py: Some early work on STEP data products. Implemented energy 2D energy bins for pixel histograms.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6012 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-04 15:54:01 +00:00
Jan Christoph Terasa
cc5e171995
configurations/data_products: Check in data product definitions discussed at Feb. meeting. These should be replaced as soon as the solo_data pipeline is able to create proper output.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6011 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-04 14:01:51 +00:00
Jan Christoph Terasa
9c276b23ab
solo_data.py: Mostly non-functional stub of step_data.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6009 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-04 10:29:52 +00:00
Jan Christoph Terasa
b70bff8471
step_config.l3: Add e0=16eV.
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6008 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-04 10:29:03 +00:00
Jan Christoph Terasa
388e65522b
step_l3_trigger.py: properly init self.model
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6007 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-04 10:28:35 +00:00
Stephan I. Böttcher
d3800d5759
C'E4 L3: neutral hists start at 30 keV
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6006 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-04 07:39:55 +00:00
Stephan I. Böttcher
09c1d5bfee
solomsg: fix HK temperature conversions
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6005 bc5caf13-1734-44f8-af43-603852e9ee25
2017-04-04 07:39:04 +00:00
Stephan I. Böttcher
23b13979ab
C'E4 L1l2: fix
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@6001 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-30 19:33:06 +00:00
Sebastian Boden
53fb0f42dd
dps_table.py: fixed a bug in enc_schedule(), now works as in verilog
...
git-svn-id: svn+ssh://asterix/home/subversion/stephan/solo/eda/python@5999 bc5caf13-1734-44f8-af43-603852e9ee25
2017-03-30 15:09:26 +00:00
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