Read camera via python
- simple example python3 script: facet-E320/epics/cam_read: main.py
EPICS camera information
- Camera info:
model_nameListFACETProf.m in https://www.slac.stanford.edu/cgi-bin/cvsweb/matlab/toolbox/?cvsroot=LCLS Camera orientations: hard-coded rotations in:
profmon_grab.m in https://www.slac.stanford.edu/cgi-bin/cvsweb/matlab/toolbox/?cvsroot=LCLS
For example there is code like:% Set rotated image for CHER cameras. isRot=ismember(pv,{'CMOS:LI20:3506','CMOS:LI20:3505','CMOS:LI20:3515'}); props(isRot,17)=1; % ... and flip CMOS camera which does not have a :Y_ORIENT PV isFlp=ismember(pv,{}); props(isFlp,9)=1;
Global shutter for background data
- IMPORTANT: the shutter affects the beam globally, call ACR before putting shutter in
- Information taken from: https://github.com/slaclab/facet-matlabTNG/blob/master/F2_DAQ/F2_runDAQ.m
see: function grab_BG(obj) - example script: git → epics/shutter_control/main_01.py
DAQ code
List all PVs
findpv CAMR:LI20:108% (note that wildcard is '%')