Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2017-03-03 Peak selection parameters

...

Example of commands for updated scripts

News

  • peak-finder is updated and available as cxif5315/proc-cxif5315-r0169-data-pfvn-2017-02-27.py
  • filter is separated from peak processing peaks as cxif5315/filter-peakfinding-2017-03-07.py

Session initialization

Code Block
cd ~/LCLS/rel-mengning
sit_setup

Run peak-finder (by default for cxif5315 run 169)

Code Block
cxif5315/proc-cxif5315-r0169-data-pfvn-2017-02-27.py -h             # help
cxif5315/proc-cxif5315-r0169-data-pfvn-2017-02-27.py -n 20 -m 10 -i # plot images
cxif5315/proc-cxif5315-r0169-data-pfvn-2017-02-27.py                # run over all events and find peaks 

Run filter for all/good100/bad100/6events events

With peak-finder have generated files with peaks. Now filter tham.
Code Block
cxif5315/filter-peakfinding-2017-03-07.py -h
cxif5315/filter-peakfinding-2017-03-07.py -i work/xpfv4r2-cxif5315-r0169-2017-03-03-e085409.txt -p   # -p - plot histograms
cxif5315/filter-peakfinding-2017-03-07.py -i work/xpfv4r2-cxif5315-r0169-2017-03-03-bad100.txt
cxif5315/filter-peakfinding-2017-03-07.py -i work/xpfv4r2-cxif5315-r0169-2017-03-03-good100.txt
cxif5315/filter-peakfinding-2017-03-07.py -i work/xpfv4r2-cxif5315-r0169-2017-03-03-esix.txt

See list of selected peaks and filter logbook

Code Block
less ./results/peaks.txt
less ./results/peaks-filtered-log.txt

Plot event

Code Block
cxif5315/proc-cxif5315-r0169-data-pfvn-2017-02-27.py -m 525 -n 1 -i

Meng's events (148, 162, 525, 1456, 1521, 2551)

Code Block
148 – double hit in equator – 3 peaks
162 – no peaks
525 – double hit in equator - 6 peaks
1456 – should find multiple arc peaks
1521 – double hit equator – 4 total peaks
2551 – no peaks