Page History
...
See also Example for Module ImgAlgos::PrincetonImageProducer.
Anchor | ||||
---|---|---|---|---|
|
Module ImgAlgos::AcqirisArrProducer
- Gets acqiris configuration and data from
Acqiris::ConfigV1
andAcqiris::DataDescV1
, objects usingparameters source
andkey_in
; - produces
ndarray<double,2>
ofshape[] = {nbrChannels, nbrSamples}
for waveforms and time stamps; - save saves configuration data in the file defined by
fname_prefix
; - save saves waveforms and time stamps in the event store with keys
key_wform
andkey_wtime
.
...
Example for Module ImgAlgos::AcqirisArrProducer
Anchor | ||||
---|---|---|---|---|
|
Module ImgAlgos::AcqirisAverage
- Gets Acqiris waveforms
from event store as ndarray<double,2>
object using parameterssource
andkey_in
; - Apply performs waveform selection controlled by parameters:
thresholds
,is_postive_signal
,do_inverse_selection
, in the range depending on local event numbersskip_events
andproc_events;
After
after number of eventsproc_events
or save at the end of job (whatever happens first), savesndarray<double,2>
of averaged waveforms in the filefname_ave_prefix
and in the event store withsource
andkey_out.
parameter | default value | description |
---|---|---|
|
| Source of data. |
|
| Key for input data (raw - by default). |
key_average | "acq-ave" | Keyword for averaged waveform array saved in the evt store. If empty – array is not saved. |
fname_ave_prefix | "acq-ave" | Text file name prefix for averaged array, full name will be extended by the experiment name, run number and suffix "-ave-wfs.txt" , for example: "acq-amo01509-r0125-ave-wfs.txt". |
thresholds | "" | List of threshold values for all Acqiris channels separated by space. If empty – threshold selection is not applied, all waveforms are averaged. |
is_postivepositive_signal | true
| Threshold crossing algorithm depends on signal polarity (sign of threshold value is not changed!). |
do_inverse_selection |
| This parameter inverts selection of the waveforms for averaging in case of threshold crossing. |
skip_events |
| Number of events (from the beginning of job) to skip before begin averaging. |
|
| Number of events for averaging. |
|
| Verbosity:
|
Example for Module ImgAlgos::AcqirisAverage
Anchor | ||||
---|---|---|---|---|
|
Module ImgAlgos::AcqirisCalib
- Gets Acqiris waveforms
from event store as ndarray<double,2>
object usingparameters source
andkey_in
; - Process processes events in the range depending on local event numbers
skip_events
andproc_events;
- At at the 1st processed event load loads the fname_base_line file with baseline
ndarray<double,2>
; - Subtract subtract baseline from waveforms;
- Save save corrected waveforms in the event store as
ndarray<double,2>
object usingparameters source
andkey_out.
parameter | default value | description |
---|---|---|
| "DetInfo(:Acqiris)" | Source of data. |
| "acq_wform" | Key for input ndarray with raw waveforms from
|
key_out | "wf-calibrated" | Key for output ndarray with calibrated waveforms. |
fname_base_line | "acq-ave" | Name of the input text file with array of the baselines for active Acqiris channels. By default this name coincides with the name of the file produced by the module |
skip_events |
| Number of events (from the beginning of job) to skip before begin subtraction. |
|
| Number of events for subtraction. |
| 0 | Verbosity:
|
...