You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Procedure

Detector/app/det_ndarr_data_status -h
Result of the command: det_ndarr_data_status -h
(ana-1.3.29) *tr* [dubrovin@psanaphi109:~/LCLS/con-jungfrau]$ det_ndarr_data_status -h
Usage: 
det_ndarr_data_status -d <dataset> [-s <source>] [-f <file-name-template>]
       [-n <events-collect>] [-m <events-skip>] [-v <verbosity-bitword>] [-p <plot-bitword>] ...
       where -v, -S control bit-words stand for 1/2/4/8/16/32/64/128 - ave/rms/status/mask/max/min/sta_int_lo/sta_int_hi
Ex.1:  det_ndarr_data_status -d exp=xpptut15:run=260 -s epix100,cspad2x2 -f nda-#exp-#run-#src-#evts-#type-#date-#time-#fid-#sec-#nsec.txt -n 100
Ex.2:  det_ndarr_data_status -d exp=xpptut15:run=260 -u 4 -n 500
Ex.3:  det_ndarr_data_status -d exp=amo86615:run=197 -n 500
Ex.4:  bsub -q psnehq -o log-%J.txt /reg/neh/home4/dubrovin/LCLS/con-jungfrau/arch/x86_64-rhel7-gcc48-opt/bin/det_ndarr_data_status -d exp=xpptut15:run=320 -u 4 -n 500
Proceses detector data and evaluate pixel status.
Options:
  -h, --help            show this help message and exit
  -d DSNAME, --dsname=DSNAME
                        dataset name, default = exp=xpptut15:run=260
  -s SOURCE, --source=SOURCE
                        input ndarray source name, default =
                        cspad,opal,epix100,pnccd,princeton,andor
  -f OFNAME, --ofname=OFNAME
                        output file name template, default =
                        work/nda-#exp-#run-#src-#evts-#type.txt
  -n EVENTS, --events=EVENTS
                        number of events to collect, default = 1000000
  -m EVSKIP, --evskip=EVSKIP
                        number of events to skip, default = 0
  -b INTLOW, --intlow=INTLOW
                        intensity low limit, default = 1
  -t INTHIG, --inthig=INTHIG
                        intensity high limit, default = 16000
  -B RMSLOW, --rmslow=RMSLOW
                        rms low limit, default = 0.1
  -T RMSHIG, --rmshig=RMSHIG
                        rms high limit, default = 16000
  -F FRACLM, --fraclm=FRACLM
                        allowed fraction limit, default = 0.2
  -D INTNLO, --intnlo=INTNLO
                        number of sigma from mean to low limit on INTENSITY,
                        if =0 - use intlow, default = 0
  -U INTNHI, --intnhi=INTNHI
                        number of sigma from mean to high limit on INTENSITY,
                        if =0 - use inthig, default = 0
  -L RMSNLO, --rmsnlo=RMSNLO
                        number of sigma from mean to low limit on RMS, if =0 -
                        use rmslow, default = 0
  -H RMSNHI, --rmsnhi=RMSNHI
                        number of sigma from mean to high limit on RMS, if =0
                        - use rmshig, default = 0
  -p PLOTIM, --plotim=PLOTIM
                        control bit-word to plot images, default = 0
  -v VERBOS, --verbos=VERBOS
                        control bit-word for verbosity, default = 255
  -S SAVEBW, --savebw=SAVEBW
                        control bit-word to save arrays, default = 255
  -u UPLOBW, --uplobw=UPLOBW
                        control bit-word to upload files in calib directory,
                        default = 0
  -c CLBDIR, --clbdir=CLBDIR
                        calib directory for deployment of calibration files,
                        default = None
  -C EVCODE, --evcode=EVCODE
                        comma separated event codes for selection as OR
                        combination, any negative code inverts selection,
                        default = None

 

Data sample

Chuck advised to look at amo86615 run197 pnccdBack; SPI dataset with many artifacts.

Comparison

Camp.0:pnCCD.0 - pnccdFront

amo86615 pixel_status for nearest run 189 and pixel_datast for run197

New procedure finds different subset of bad pixels, partly overlapping with pixel_status.


Both procedures do not catch bad pixels for Camp.0:pnCCD.1 - pnccdBack

 

 

  • No labels