Page History
...
Runs in batch for the dark file to get averaged pedestals.
ImgAlgos.PrincetonImageProducer
gets image from event as an ndarray
object
ImgAlgos.Tahometer
evaluates performance of the batch job
ImgAlgos.ImgAverage
produces file with averaged image for given range of events.
For data pre-processing
Scaner
Runs in batch for the data file to get preliminary information.
ImgAlgos.Tahometer
evaluates performance of the batch job, counts number of events in the data file
ImgAlgos.ImgTimeStampList
makes file with time stamps and time record counters for tau
ImgAlgos.IntensityMonitorsData
makes file with intensity monitor records
Average
Runs in batch for the data file to get averaged image
ImgAlgos.Tahometer
evaluates performance of the batch job
ImgAlgos.PrincetonImageProducer
gets image from event as an ndarray
object
ImgAlgos.ImgAverage
produces file with averaged image for given range of events
ImgAlgos::ImgMaskEvaluation
- module is available, but needs to be included in psana.cfg file for evaluation of:
- saturated mask
- noise mask
- combined mask
For data processing
Split
ImgAlgos.Tahometer
ImgAlgos.PrincetonImageProducer
ImgAlgos.ImgVsTimeSplitInFiles
Process
Data processing is implemented in stand alone (non-psana) modules
ImgAlgos.CorAna.cpp
ImgAlgos.CorAnaInputParameters.cpp
ImgAlgos.CorAnaData.cpp
Merge
CorAnaMergeFiles.cpp
- saves binary file for float(32) with shape (Ntau,3,rows,cols), where 3 stands for <Ip>, <If>, and <Ip*If>
Can be acessed in python as
...
Infrastructural modules provide basic infrastructure of the project.
ConfigParameters.py
, ConfigParametersCorAna.py
, and GUIConfigParameters.py
provides convenient approach for maintenance of all configuration parameters.
Infrastructural modules Logger.py
and GUILogger.py
provides a generic approach to logging system.
Module ConfigFileGenerator.py
use current settings of configuration parameters and stub-file scripts from CorAna/data/scripts/
and generates the psana configuration files.
Module FileNameManager.py
is a single place which provides a dynamic file names for current version of the configuration parameters.
GlobalUtils.py
- global utilities for common operations
BatchJob.py
- superclass for batch job submission
BatchJobPedestals.py
- pre-processing for dark run files
BatchJobData.py
- re-processing for data files
BatchJobCorAna.py
- main data processing - calculation algorithm.
Global to-do list
Masks
Evaluation at data pre-processing the noisy and saturated pixel mask
Graphical editor for regions of interest
Graphical editor for blemish mask
Processing (at psana Split level?)
Intensity monitors: needs to be used at processing in psana
Account for thresholds
View Results
geometry for reflected beam
proper combination for total mask in ViewResults.py
fits
Progress
2012-11-05 – 2012-11-11 Week progress
...
- GUIViewControl.py
- GUIViewResults.py
- ViewResults.py
- g2 Normalization - need to use parameters from GUISetupInfo etc.
Map evaluation speed in ViewResults.py for 1300x1340 img - x,y maps = 0.02sec
- r map = 0.05sec
- theta map = 0.12sec
- q map = 0.4sec
...
Progress
Work in progress on
- GUIViewControl.pyViewResults
- ViewResults.py
- PlotG2*.py
Currently available plots for:
- Raw data maps (tau): <Ip>, <If>, <Ip*If>, g2-raw
- Geometry maps: X, Y, R, Phi, Q for direct beam mode
- Partitioning maps: Phi, Q, Q-Phi maps for
static
anddynamic
partitions - Masks: Image limits, blemish, hot pixels, good regions, total
- Calculated maps (tau): total mask as applied at normalization and for maps
- normalization factors 1/<Ip>, 1/<If> for static bins,
- g2 as a map
- g2 averaged over dynamic bins
- g2 for dynamic bins vs tau as a 2D histogram
Missing things:
- g2 vs tau plot for dynamic bins as a set of graphics
- <q> for dynamic bins
- hot and saturated pixel mask
- add geometry maps for reflected beam add selector of the mode in GUI
TO DO
...
- comment/uncomment submission in ELog
- add new optional parameter for responce on msg number in submission command when Igor provide an interface; allow to edit field for this parameter in GUIELogPostingDialog
- change interface for submission command when new release is available (remove long path to the command and PYTHONPATH)
...
- histogram
- g2(tau) plot for dynamic bins as a set of graphic
To-do list
Masks
Evaluation at data pre-processing the noisy and saturated pixel mask
Graphical editor for regions of interest
Graphical editor for blemish mask
Processing (at psana Split level?)
Intensity monitors: needs to be used at processing in psana
Account for thresholds
View Results
geometry for reflected beam
proper combination for total mask in ViewResults.py
fits
ELog
Add submission using responce ID, when Igor provide an interface
GlobalUtils: comment/uncomment submission in ELog
...