Versions Compared

Key

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

...

To run a precompiled version of cctbx:
source ~monarin/cida

 

To install psana-conda and cctbx,

...

A sample of job submission command can be found here: /reg/d/psdm/xpp/xpptut15/res/exafel_demo/

 

Old instructions (no need if above works):

...

 

Calibration

 

Averaging dark images
cxi.mpi_average -x expname -r runno -a detector_address -d dez_offset -v -g gain_scale_factor -R
* -R tell CDL to get the raw images.
Option: Using bsub
for i in `seq min max`; do bsub -n 12 -q psana_queue -o avg_r$i.log mpirun cxi.mpi_average -x expname -r $i -a detector_address -d dez_offset -v -g gain_scale_factor; done
Create maskcxi.make_dials_mask --maxproj-min=Light_ADU -o mask.pickle Dark_avg.cbf Dark_std.cbf Light_max.cbf
Calibration using composite powder imagecspad.quadrants_cbf Light_max.cbf -p

Option: to combine all light-max images
cxi.cspad_average *_max*.cbf -m all_max.cbf
Deploy new calibration
cxi.cbfheader2slaccalib cbf_header=experiment_calibration_cc.cbf
Option: organize calibration file
mv /exp/calib/0-end.data/address/geometry0-end.data 0-end.data.v0
cp /new/geometry/0-end.data 0-end.data.v1
ln -s 0-end.data.v1 0-end.data

 

...