Page History
...
- use epixquad:raw:raw (Array3d) and epixquad:calibconst (dict) as input to Geometry to generate image (Array2d),
- pass this image to RoiArch input, draw/edit arch, get Mask (Array2d) shaped as input image,
- use node Mask3dFrom2d with input mask2d from RoiArch and inds_xy from Geometry to generate 3-d mask array shaped as raw data,
- use nodes TableFromArr3d to convert 3-d mask to 2-d table of segments (without Geometry) to plot with ImageViewer.1
Potential extension of the node Geometry for 3-d mask output (TEMPORARY FOR PRESENTATION ONLY)
...
- Mask 3-d can be converted directly in the node Geometry (Mask3dFrom2d may not be required...),
- it needs in optional input parameters
- AMI does not work correctly with default input terminals
- unused terminals must be remover interactively
- if intermediate terminal removed input is moved to previous one...
- Also need in a few parameters in TableFromArr3d, but
- AMI fails to pickle qt modules (ComboBox, etc) and crashes...
Example of issue with pickle of qt object
Code Block | ||
---|---|---|
| ||
Essential code is in ami/flowchart/library/Psalg.py
ami-local -b 1 -f interval=1 psana://exp=uedcom103,run=7,dir=/cds/data/psdm/prj/public01/xtc |
Crash:
...
PythonEditor for calib components of epix10ka and epixhr detectors
...
Overview
Content Tools