Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

parameter

default value

description

source

"DetInfo(:Acqiris)"

source Source of data.

key_in

"acq_wform"

key Key for input data (raw - by default).

key_average"acq-ave"keyword Keyword for averaged waveform array saved in the evt store. If empty – array is not saved.
fname_ave_prefix"acq-ave"text 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 List of threshold values for all Acqiris channels separated by space. If empty – threshold selection is not applied, all waveforms are averaged.
is_postive_signaltrueThreshold crossing algorithm depends on signal polarity (sign of threshold value is not changed!).
do_inverse_selection

false

invert This parameter inverts selection of the waveforms for averaging in case of threshold crossing.

skip_events

0

number Number of events (from the beginning of job) to skip before begin averaging.

proc_events

10000000

number Number of events for averaging.

print_bits

0

verbosityVerbosity:

  • =0 - print nothing
  • +1 - input parameters
  • +2 - ndarray dimensions
  • +4 - begin/end accumulate statistics record
  • +8 - record about saving file with averaged array
  • +8 - part of waveform for all channels and segments in each event
  • +16 - statistics of averaged waveforms (number of accumulated)
  • +32 - part of the input waveform

...

 

parameter

default value

description

source

"DetInfo(:Acqiris)"

source Source of data.

key_in

"acq_wform"

key Key for input data (raw - by default)

 

""

 

 

""

 

ndarray with raw waveforms from evt store. For now it is assumed that this array is produced by the

AcqirisArrProducer or AcqirisAverage modules.

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 AcqirisAverage. This allows to use these to modules in chain with auto-generated names of files. If the file with auto-generated extended name (which looks like "acq-amo01509-r0125-ave-wfs.txt") is not found on disk, the file name without extension will be tested. If it is not found as well, baseline subtraction will not be performed and output array will be identical to input one.

skip_events

0

Number of events (from the beginning of job) to skip before begin subtraction.

proc_events

10000000

Number of events for subtraction.

""

print_bits

0

verbosityVerbosity:

  • =0 - print nothing
  • +1 - input parameters
  • +2 - configuration parametersndarray dimensions
  • +4 - record about saving file with configuration parametersbegin/end of subtraction
    +8 - Information about loading of the input file with baseline array
  • +16 - part of the input array
  • +32 - part of baseline array+8 - print part of waveform for all channels and segments in each event

 Example for Module ImgAlgos::AcqirisCalib

...