-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnginXCalibrateFull: extend bank calibration output table, write it to file, apply calibration on workspace #12957
EnginXCalibrateFull: extend bank calibration output table, write it to file, apply calibration on workspace #12957
Conversation
When I run
I get the red results log messages:
I would be better if this was e.g. instead:
|
I'm going to change the names of a couple of options as we just chatted about. Those exceptions are now warning/error messages (in another branch that follows on this: #11746). |
…_calibration_output_table_and_file EnginXCalibrateFull: extend bank calibration output table, write it to file, apply calibration on workspace
Tested included with instrument view and good updated of alg documentation. About the question: "An open question is how many digits should we use / do EnginX scientists need?" then when the the scientists starts to use this alg in anger perhaps only at that point will instrument scientists be able to come back with an answer for this |
This fixes #12609.
This also fixes #12700.
To test:
The unit and doc test example files are not very nice to test this as they're not full workspaces. You can see how this would work in practice using the file from the system test (it can take a while):
This saves a plain text csv file with all the information that EnginX scientists usually like to inspect. EnginXCalibrteFull also applies the calibration on the workspace (property renamed:
InputWorkspace
=>Workspace
).If you open the instrument viewer, after calibration it should be very visible that the detectors of one bank have been scattered. Probably this is not a very reliable calibration! And if you then run
EnginXCalibrateFull
on the other bank you should see both scattered:Also, if you open the output csv file in notepad/excel, etc. it should look fine. An open question is how many digits should we use / do EnginX scientists need?
@Anders-Markvardsen: I've expanded the documentation a bit but I'd say that in general the EnginX algorithms documentation needs more improvements. Please see if it reads well/acceptable for now.
So this is now saving the simple text / csv file that scientists like to have in principle. Having this option doesn't do any harm, but I'd tend to say that we shouldn't use this format if possible for the more automated/GUI code. So I'd create another issue to add other format(s) (nexus processed, or parameters xml, or the new calibration nexus, etc.), that would be used from the GUI, and maybe complemented with a button that would produce/show a mantid table with all the old/new positions in x-y-z and spherical coordinates.