Versions Compared

Key

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

...

See also Example for Package ImgPixSpectra.

Anchor
ImgAlgo
ImgAlgo

Package ImgAlgos

This packages contains a few psana modules for analysis and image processing.

Anchor
Tahometer
Tahometer

Module ImgAlgos::Tahometer

...

See also Example for Module ImgAlgos::Tahometer.

 

Anchor
TimeStampFilter
TimeStampFilter

Module ImgAlgos::TimeStampFilter

 

This module passes only the events if their time stamp is in the requested range.
The range of allowed time stamps is defined by the configuration parameters.

...

See also Example for TimeStampFilter and XtcOutputModule.

 

Anchor
EventNumberFilter
EventNumberFilter

Module ImgAlgos::EventNumberFilter

...

  1. If the first and/or last event numbers are defined, then the filter will select events in this range only.
  2. If the evtstring is defined, only listed events of event ranges will be selected. For example, the evtstringparameter can be defined as

    Code Block
    bgColor#F7F7ED
     2,5,11-15,20-25,29,30
    

    that means the list of events:

    Code Block
    bgColor#F7F7ED
      2  5  11  12  13  14  15  20  21  22  23  24  25  29  30
    

    In the evtstring parameter the comma "," and sign minus "-" as a dash are the only allowed separators. Blank spaces are also allowed. Other characters may abort the program. The evtstring mode has higher priority than the 1st mode.
    The filterIsOn allows easy turn on/off this filter in *.cfg file.

 

Anchor
EventCounterFilter
EventCounterFilter

Module ImgAlgos::EventCounterFilter

...

Code Block
2 3 6 7 9 11 15
17 28 32 ...

 

Anchor
EventCodeFilter
EventCodeFilter

Module ImgAlgos::EventCodeFilter

ImgAlgos::EventCodeFilter (ImgAlgos > V00-03-80) module is created by request of Silke Nelson for dark image selection based on EvrData eventCode.

Functionality: Filter selects events which have requested evtcode in Psana::EvrData::DataV4, 3, ... data objects in the list of Psana::EvrData::FIFOEvent objects. Events which do not have the event code are skipped.

parameter

default value

description

sourceDetInfo(:Evr)data source
evtcode0event code, unsigned number

mode

0

filter mode: 0-off, 1-on, -1-on in inverted decision mode

print_bits

0

verbosity:

  • =0 - print nothing
  • +1 - input pars
  • +4 - filter summary
  • +8 - current event number and selection status
  • +16 - list of FIFO events

Example of configuration parameters for this module:

Code Block
modules = ... ImgAlgos.EventCodeFilter ...

[ImgAlgos.EventCodeFilter]
evtcode    = 41
mode       = 1
print_bits = 5

 

Anchor
AndorImageProducer
AndorImageProducer

Module ImgAlgos::AndorImageProducer

...