Improve Y-Axis Units in ISIS SANS Reduction and Load/SaveCanSAS #10629
Labels
ISIS Team: LSS
Issue and pull requests managed by the LSS subteam at ISIS
SANS
Issues and pull requests related to SANS
sans_feature
This issue was originally TRAC 9787
http://trac.mantidproject.org/mantid/ticket/9710, http://trac.mantidproject.org/mantid/ticket/9721 and http://trac.mantidproject.org/mantid/ticket/9772 were all "band-aid" fixes, trying to get correct unit labels for the y-axis of ISIS SANS-reduced workspaces for the purposes of plotting, as well as writing out to CanSAS data files which are then loaded into SasView.
There are some problems that need to be addressed:
YUnitLabels
of "I(q) (cm-1)" and writes outI
andIdev
units of "1/cm", else it writes out whatever theYUnitLabel
is. Since the CanSAS format is strict about [http://www.cansas.org/formats/canSAS1d/1.1/doc/element_SASdata.html#idata which units can be used], we need to get a better handle on what other unitsSaveCanSAS
should be able to write out (if any), and what theYUnitLabels
of the workspaces being written have to be in those cases. Should we disallow workspaces withYUnitLabels
we don't recognise, or should we default to some sensible unit and output a warning?The algorithm documentation should be updated accordingly.
The text was updated successfully, but these errors were encountered: