Fixes #190. This was easier than I expected, thanks to @antarcticrainforest's work to describe the array dimensions for write_crystfel_geom. To use it for a 2D array, pass:
The default dims has an extra entry 'modno'. The absence of this causes it to spread modules out along the slow-scan dimension instead.
I've also moved the CrystFEL writing code to a separate module so it's easier to see. To review the real functional changes here, ignore the first two commits.
Fixes #190. This was easier than I expected, thanks to @antarcticrainforest's work to describe the array dimensions for
write_crystfel_geom
. To use it for a 2D array, pass:The default dims has an extra entry
'modno'
. The absence of this causes it to spread modules out along the slow-scan dimension instead.I've also moved the CrystFEL writing code to a separate module so it's easier to see. To review the real functional changes here, ignore the first two commits.