Page History
...
See also Example for Package ImgPixSpectra.
Anchor | ||||
---|---|---|---|---|
|
Package ImgAlgos
This packages contains a few psana
modules for analysis and image processing.
Anchor | ||||
---|---|---|---|---|
|
Module ImgAlgos::Tahometer
...
See also Example for Module ImgAlgos::Tahometer.
Anchor | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
Module ImgAlgos::EventNumberFilter
...
- If the
first
and/orlast
event numbers are defined, then the filter will select events in this range only. If the
evtstring
is defined, only listed events of event ranges will be selected. For example, theevtstring
parameter can be defined asCode 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. Theevtstring
mode has higher priority than the 1st mode.
ThefilterIsOn
allows easy turn on/off this filter in*.cfg
file.
Anchor | ||||
---|---|---|---|---|
|
Module ImgAlgos::EventCounterFilter
...
Code Block |
---|
2 3 6 7 9 11 15 17 28 32 ... |
Anchor | ||||
---|---|---|---|---|
|
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 |
---|---|---|
source | DetInfo(:Evr) | data source |
evtcode | 0 | event code, unsigned number |
| 0 | filter mode: 0-off, 1-on, -1-on in inverted decision mode |
| 0 | verbosity:
|
Example of configuration parameters for this module:
Code Block |
---|
modules = ... ImgAlgos.EventCodeFilter ...
[ImgAlgos.EventCodeFilter]
evtcode = 41
mode = 1
print_bits = 5 |
Anchor | ||||
---|---|---|---|---|
|
Module ImgAlgos::AndorImageProducer
...