Versions Compared

Key

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

...

Module ImgAlgos::AcqirisCalib

Under construction (warning)

  • Gets acqiris Acqiris waveforms from event store as ndarray<double,2> object using parameters source and key_in;
  • Process events in the range depending on local event numbers skip_events and proc_events;
  • At the 1st processed event load the fname_base_line file with baseline  ndarray<double,2>;
  • Subtract baseline from waveforms;
  • Save corrected waveforms in the event store as ndarray<double,2> object using parameters source and key_out.

parameter

default value

description

source

"DetInfo(:Acqiris)"

Source of data.

key_in

"acq_wform"

Key for input 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

Verbosity:

  • =0 - print nothing
  • +1 - input parameters
  • +2 - ndarray dimensions
  • +4 - begin/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

 Example for Module ImgAlgos::AcqirisCalib

 

 

 

 

 

 

 

 

 

 

 

Module ImgAlgos::ImgAverage

...