You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, arguments to do_nexafs and do_rsoxs that aren't present (such as polarizations) are set to their defaults (0). This could be desirable for user consistency, but I would argue that more user flexibility is provided by respecting the existing value and not moving it.
Would be interested in hearing thoughts on this.
The text was updated successfully, but these errors were encountered:
Strong disagreement on this. this is from experience a terrible way to run data commands. All commands should have a set of standard default reasonable values that should only ever change if the user knows they don't want them. there should ALWAYS be an assumption that the user does not actually know the state of the beamline, and running the exact command twice should produce the same results
My philosophy on this is that each genra of function should have total state control over its set domain. loading configuration is just moving a bunch of motors, but the important thing is that NO other command should be overriding this, so loading a configuration means that you should stay in that configuration until another is loaded. When loading a sample, it's moving that set of motors, and nothing else should change that. maybe we can rotate around that sample etc, but X-rays should only be hitting that sample once it is loaded. when scanning, it's the same thing. the state of the energy, undulator, shutter etc should be completely determined by the scan command. when you start changing configurations with a scan command, or changing samples etc, things get very difficult to be deterministic.
Currently, arguments to
do_nexafs
anddo_rsoxs
that aren't present (such aspolarizations
) are set to their defaults (0
). This could be desirable for user consistency, but I would argue that more user flexibility is provided by respecting the existing value and not moving it.Would be interested in hearing thoughts on this.
The text was updated successfully, but these errors were encountered: