Data analysis
at SACLA
最終更新日：February 26, 2020
Written by Y. Kubota (kubota@spring8.or.jp)

Sample data
Pump (800 nm laser)-probe (XFEL) X-ray diﬀraction measurement
for Bi thin ﬁlm• BL: 3
• Scan motor name: “xfel̲bl̲3̲st̲2̲motor̲1/position” (delay stage of laser)• Run number: 714350~714560• Delay scan range: -2550 ~ -1650 pulse, 5 pulse step (1pulse = 6.671 fs)• I0 signals: “xfel̲bl̲3̲st̲2̲pd̲user̲4̲ﬁtting̲peak/voltage” &“xfel̲bl̲3̲st̲2̲pd̲user̲5̲ﬁtting̲peak/voltage”• MPCCD Background: Run# 714259• Timing Monitor Background: Run# 713326

1. Login SACLA HPC system
1. Connect the SPring-8 network with VPN service
2. $ssh -X (username)@xhpcfep
3. $qsub -I -X -l select=1:ncpus=2
Reference
HPC Portal site (via VPN)
http://xhpcfep.hpc.spring8.or.jp

2. Extract data from the DB andthe Storage
1. Make a conﬁgure ﬁle for DataConvert
1. $DataConverterGUI
2. Open GUI window
3. Click Show Dialog of Create Format File③

2. Extract data from the DB andthe Storage
1. Make a conﬁgure ﬁle for DataConvert
4. Add signals you want
5. save your conﬁgure ﬁle⑤④

2. Extract data from the DB andthe Storage
1. Make a conﬁgure ﬁle for DataConvert• Reference
http://xhpcfep.hpc.spring8.or.jp/assets/docs/
DataConverterGUI̲UsersManual̲en.pdf• Please use a sample conﬁgure ﬁle (including signals of I0 and delay stage)/work/yuyakubota/Sample/DataConvert̲sample.conf

2. Extract data from the DB andthe Storage
2. DataConvert
1. $MakeTagList -b 3 -r (Run#) -out (ﬁle name1).list
2. $DataConvert4 -l (ﬁle name1).list -dir (derectory name) -o (ﬁlename2).h5
To use your conﬁg ﬁle, please add a command option “-f”.
$DataConvert4 -l (ﬁle name1).list -dir (derectory name) -o (ﬁle name2).h5 -f(conﬁg ﬁle name)• Reference
M a k e Ta g L i s t : h t t p : / / x h p c f e p . h p c . s p r i n g 8 . o r. j p / a s s e t s / d o c s /MakeTagList̲UsersManual̲en.pdf
D a t a C o n v e r t : h t t p : / / x h p c f e p . h p c . s p r i n g 8 . o r. j p / a s s e t s / d o c s /DataConvert4̲UsersManual̲en.pdf• Examples of results for Run# 714350/work/yuyakubota/Sample/714350.list and 714350.h5

2. Extract data from the DB andthe Storage
Sample of HDF ﬁle (714350.h5) for Run# 714350

image data

image data ofMPCCD

delay stage

delay stage
I0

PD user 4

Bi (111) diﬀraction
spot

3. Result of the scanPlease analyze the data in HDF ﬁles4. Jitter correction with
Timing Monitor
1. Analysis of timing jitter using TimingMonitorAnalyzer
1. $TimingMonitorAnalyzerGUI
2. Open GUI window

4. Jitter correction with
Timing Monitor (TM)
1. Analysis of timing jitter using TimingMonitorAnalyzer
Please refer tohttp://xhpcfep.hpc.spring8.or.jp/assets/docs/
TimingMonitorAnalyzerGUI̲UsersManual̲en.pdf
Please use a conﬁgure ﬁle/work/yuyakubota/Sample/TMconﬁg̲sample.h5
Examples of Result ﬁles for Run# 714350/work/yuyakubota/Sample/714350.tma.h5 and 714350.csv and 714350.png

4. Jitter correction with
Timing Monitor (TM)Sample of HDF ﬁle (714350.tma.h5) for Run# 714350

quality checkjitter positionresults

4. Jitter correction with
Timing Monitor (TM)
1. Analysis of timing jitter using TimingMonitorAnalyzer
quality check: 1 = good, 0 = not good
Delay time (fs) = [delay stage position (pulse)]*6.671 (fs) - ([jitter position](pixel) - [Average of jitter position] (pixel)) * 3 (fs)

5. Result of the scan withjitter correction