Use lseek to test if stdin is a pipe and treat eof accordingly.
Emit the tail of the uart fifo at eof.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@6091 bc5caf13-1734-44f8-af43-603852e9ee25
STEP_F*_T-correlated_calibration.l3: added Revision and Id keywords
step_calib_new.l3: now loading from the T_correlated files
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@6077 bc5caf13-1734-44f8-af43-603852e9ee25
From: stephan@psjt.org (Stephan Böttcher)
To: et@physik.uni-kiel.de
Date: Sun, 28 May 2017 15:45:09 +0200
Message-ID: <s6n37bpf63e.fsf@blaulicht.brux>
Subject: [physik-et] eratum: Bexus pressure calibration
Moin,
in the past Bexus ballon flights we used MS5540C pressure sensors inside
the irena electronics box as height reference for our data.
The scripts to calculate the temperature and pressure from the sensor
data had a bug in "C3: Temperature coefficient of pressure sensitivity",
using "C4: Temperature coefficient of pressure offset" instead.
The effect should not be large for most purposes, but in case anybody
relies on precise pressure data from these sensors, please check the
calibration.
Gruß,
Stephan
http://media.digikey.com/pdf/Data%20Sheets/Measurement%20Specialties%20PDFs/MS5540-CM.pdfhttp://media.digikey.com/pdf/Data%20Sheets/Measurement%20Specialties%20PDFs/MS5534-CM.pdf
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@6070 bc5caf13-1734-44f8-af43-603852e9ee25
From: boettcher@physik.uni-kiel.de (Stephan Böttcher)
To: solo_kiel@physik.uni-kiel.de, change4@physik.uni-kiel.de
Subject: flyrena L2 trigger
Date: Sat, 27 May 2017 20:43:24 +0200
Message-ID: <s6ninkmp2cz.fsf@blaulicht.brux>
Moin,
I found a deficiency in the flyrena L2 trigger, that may affect HET/EPT
and/or LND.
If multiple L2 trigger are satisfied by a particle hit, the L2 trigger
bits are set as soon as one of those L2 trigger conditions is satisfied
and the event record is generated according to that triggers readout
mask. A more elaborate trigger may come active one or more ADC clocks
later, but that will not be reflected in the L2 trigger bits, nor the
selected readout mask, nor the L3 trigger being activated.
HET/EPT is probably not affected. But that needs to be verified.
The current LND configuration is affected.
Assume a charged particle hit. Detector B triggers an ADC clock earlier
than A and/or I, so that the total-dose-in-B trigger fires with a narrow
readout mask, calling for dosimetry L3. One ADC clock later, the
condition for the charged particle trigger is fullfilled, but the event
readout is too narrow, and the wrong L3 trigger is called.
A workaround is to never do sparse readout, i.e., always read all
channels, and add code to L3 to refine the triggers.
Gruß,
Stephan
PS: I found this problem in the data of the RpiRENA mADAM detector for
the weather ballon flight this summer. That is a direna filter
with 3MSPS and 12-bit coefficients, so the probablility for triggers to
come out of time is higher.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@6069 bc5caf13-1734-44f8-af43-603852e9ee25
it will require the temperature coefficients to be written into l3 files,
which should be easily automatable by a script.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda@6051 bc5caf13-1734-44f8-af43-603852e9ee25