Closed graeme-winter closed 1 year ago
Putting everything into a phil file seems to work - but this is not obvious to the general user:
geometry {
detector {
panel {
fast_axis = 0 -1 0
slow_axis = 1 0 0
origin = -15.0417 103.915 -64.6736
}
}
goniometer {
axes = 1 0 0 0.766414 -0.642347 0 1 0 0
}
}
This is a consequence of the panel
scope being .multiple=True
- there is no way on the command line to "group" parameters into the same instance of the scope. I think explicitly providing a phil file is the only way to do this.
... in which case pls can program stop and tell me this, rather than proceeding partially then complaining to me that it did something wrong?
alternatively... probably not rocket science to match these things up manually?
Humbly suggest reading part of what I told it and then failing is the most unhelpful correct outcome one could expect.
fails with
Debugging by
print()
shows:->
i.e. seems to only be re-assigning one axis then failing. How can I re-assign all of these at once?