-
Notifications
You must be signed in to change notification settings - Fork 14
Detector Geometry
apeck12 edited this page Apr 1, 2022
·
4 revisions
Where to find the latest geometry, and how to optimize it.
The GeomOpt
class estimates the detector distance based on the fact that rings in a silver behenate powder should be equidistant. If a powder pattern has been pre-computed -- e.g., by the RunDiagnostics
class, one can set the powder
argument below to that path. Otherwise, the powder
argument should be set to the number of images to use to compute the powder. The following snippet of code uses the latter approach:
from sfx_utils.diagnostics.geom_opt import GeomOpt
geom_opt = GeomOpt(exp='mfxp19619', run=19, det_type='epix10k2M')
geom_opt.opt_distance(powder="powder_max.npy", plot=True)
and yields the following information:
Detector distance inferred from powder rings: 83.94 mm
When creating a new page, please add it (in alphabetical order) to the sidebar.