various stuff
update fiducial z when moved autofocus param camera settings
This commit is contained in:
83
Readme.md
83
Readme.md
@@ -82,22 +82,95 @@ Deploy stuff (22.8.22) quick and dirty
|
||||
DST=/sf/cristallina/applications/mx/zamofing_t/
|
||||
# /sf/cristallina/applications/mx
|
||||
|
||||
ssh saresc-cons-02 mkdir /tmp/zamofing_t/
|
||||
rsync -vai --delete ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX saresc-cons-03:$DST
|
||||
rsync -vai --delete ~/Documents/prj/SwissFEL/PBTools saresc-cons-03:$DST
|
||||
ssh saresc-cons-03 mkdir /tmp/zamofing_t/
|
||||
# add '--delete' if needed
|
||||
rsync -vai ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX saresc-cons-03:$DST
|
||||
rsync -vai ~/Documents/prj/SwissFEL/PBTools saresc-cons-03:$DST
|
||||
|
||||
cd /sf/cristallina/applications/mx/zamofing_t/ESB_MX/python/SwissMX/
|
||||
/opt/gfa/python-3.7/latest/bin/python swissmx.py
|
||||
|
||||
/opt/gfa/python-3.8/latest/bin/pip install qtawesome --user
|
||||
/opt/gfa/python-3.8/latest/bin/pip install opencv-python
|
||||
/opt/gfa/python-3.8/latest/bin/python swissmx.py
|
||||
|
||||
cd $DST
|
||||
/opt/gfa/python-3.8/latest/bin/python -m pdb swissmx.py
|
||||
|
||||
rsync -vai saresc-cons-03:/tmp/image*.png ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/python/SwissMX/scratch/
|
||||
|
||||
/home/zamofing_t/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/python/SwissMX/scratch/autofocus2
|
||||
```
|
||||
|
||||
16.9.22 remote Deltatau test:
|
||||
-----------------------------
|
||||
```
|
||||
(s.a. /home/zamofing_t/Documents/prj/SwissFEL/PBTools/pbtools/gather/PBGatherPlot.py
|
||||
|
||||
PPMAC=SAR-CPPM-EXPMX1
|
||||
rsync -va ~/Documents/prj/SwissFEL/PBTools/pbtools/gather/gather_server root@$PPMAC:/tmp/
|
||||
|
||||
ssh root@$PPMAC
|
||||
LD_LIBRARY_PATH=/opt/ppmac/libppmac/ /tmp/gather_server
|
||||
ssh -L 10001:localhost:22 root@$PPMAC 'uname -a'
|
||||
ssh -L 10002:localhost:2332 root@$PPMAC 'uname -a'
|
||||
Deltatau host in config:
|
||||
localhost:10001:10002 (instead SAR-CPPM-EXPMX1)
|
||||
|
||||
```
|
||||
|
||||
|
||||
14.9.22 external code:
|
||||
----------------------
|
||||
```
|
||||
|
||||
ssh gac-cristall@saresc-cons-03
|
||||
pw: ValToira_2021
|
||||
cd Documents/swissmx_cristallina/scripts/
|
||||
|
||||
Jungfrau stuff:
|
||||
https://docs.google.com/document/d/1892j2eMsoFmufg-gdXKcSbOLcTDxLHULiNw-iZWAIVc/edit
|
||||
'Beam synchronous DAQ with run_control'
|
||||
|
||||
Check:
|
||||
~/Documents/swissmx_cristallina/scripts/Chip_align.py
|
||||
sys.path.insert(0, os.path.expanduser("/photonics/home/gac-cristall/Documents/swissmx_cristallina/slic/"))
|
||||
from slic.core.acquisition import SFAcquisition
|
||||
|
||||
|
||||
# setup slic parameters
|
||||
detectors = [ { "name" : "JF17T16V01",
|
||||
"adc_to_energy" : True,
|
||||
"compression" : True,
|
||||
"factor" : 11.33,
|
||||
"geometry" : True,
|
||||
"double_pixel_action" : "mask",
|
||||
"remove_raw_files" : False
|
||||
} ] #["JF17T16V01"]
|
||||
bs_channels = [ # have timing signitures
|
||||
"SARES30-LSCP1-CRISTA1:CH0:1",
|
||||
# "SARES30-CAMS156-SMX-OAV:FPICTURE"
|
||||
]
|
||||
epics_channels = [ # no time signitures
|
||||
]
|
||||
|
||||
daq = SFAcquisition(
|
||||
"cristallina", "p20516",
|
||||
default_detectors=detectors, default_channels=bs_channels, default_pvs=epics_channels,
|
||||
rate_multiplicator=1, append_user_tag_to_data_dir=True
|
||||
)
|
||||
|
||||
|
||||
if acquire == "True":
|
||||
daq.acquire( run_name, n_pulses=n_pulses, wait=False)
|
||||
|
||||
|
||||
|
||||
|
||||
Beam synchronous DAQ with with daq_control (command line)
|
||||
Python script:
|
||||
> python /sf/jungfrau/applications/daq_client/daq_client.py -h
|
||||
> python /sf/jungfrau/applications/daq_client/daq_client.py -p p19739 -t no_beam_test -c /sf/cristallina/config/channel_lists/channel_list_bs -e /sf/cristallina/config/channel_lists/channel_list_ca -f /sf/cristallina/config/jungfrau/jf_1d5M.json --start_pulseid 15382163895 --stop_pulseid 15382163905
|
||||
|
||||
|
||||
```
|
||||
@@ -174,6 +247,10 @@ SARES30-CAMS156-SMX-OAV:HEIGHT 2048
|
||||
caqtdm camsf
|
||||
caqtdm -macro 'NAME=SARES30-CAMS156-SMX-OAV,CAMNAME=SARES30-CAMS156-SMX-OAV' /sf/controls/config/qt/Camera/CameraMiniView_RF.ui
|
||||
caqtdm -macro 'NAME=SARES30-CAMS156-SMX-OAV,CAMNAME=SARES30-CAMS156-SMX-OAV' /sf/controls/config/qt/Camera/CameraExpert_RF.ui
|
||||
caqtdm -macro'P=SAR-EXPMX' ESB_MX_exp.ui
|
||||
|
||||
|
||||
|
||||
|
||||
03 last file: /sf/controls/config/qt/Camera/CameraMiniView_RF.ui, macro: NAME=SARES30-CAMS156-SMX-OAV,CAMNAME=SARES30-CAMS156-SMX-OAV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user