Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use raw data instead of corrected data for cbf_writer (cctbx#660)
Found by @dermen For cbf_writer, use imageset.get_raw_data(i) instead of imageset[i], the latter of which applies gain correction. Solves two problems: 1) Avoids promoting int arrays to floats to save file space 2) Avoids applying the gain twice downstream, since gain is also set on the detector model Also fix missing encode call for int data Co-authored-by: Derek Mendez <dermen@lbl.gov>
- Loading branch information