[XtalManager] optional name for xtal
Our DCM has 3 crystals, two of which are the same only rotated by 30deg, but it doesnt seem to be possible to differentiate them with XtalManager.
One ugly workaround is to name the 2nd one like this:
module: monochromator
class: XtalManager
name: d20xtals
xtals:
- xtal: Si311
dspacing: 1.63742
- xtal: Si111
dspacing: 3.13542
- xtal: Si111Thirty <---
dspacing: 3.13542
(Afaict, name parser extracts all digits to get the plane so that you can only use letters, so if you try Si111_90 for instance, you end up with 11190 -> error).
How about allowing an optional "name" parameter? In my case I would have Si111_0 and Si111_90.
Edited by Damien Naudet