Add output spin state to sample log in PolarizationCorrectionWildes #38264
Labels
ISIS Team: LSS
Issue and pull requests managed by the LSS subteam at ISIS
Reflectometry
Issues and pull requests related to reflectometry
Milestone
Part of #36685.
It would be good to optionally add the spin state to the sample log for the output workspaces in
PolarizationCorrectionWildes
. This will provide a reliable way of identifying the spin state of a workspace, which will make it easy to include this metadata in reduced data files. This has been requested by the ISIS Reflectometry Group and they have asked that we use the ORSO notation in the log. See linked issue for more details.We should implement the following:
spin_state_ORSO
. I think this might be better than justspin_state
because there seem to be a lot of different notations in use, so this makes it clear which one we're using.PolarizationCorrectionWildes
should expose a new parameterAddSpinStateToLog
that defaults toFalse
to maintain backwards compatibility. This means that users can choose whether to have the spin state log added. This new parameter would need to be exposed throughPolarizationEfficiencyCor
.++
=pp
+-
=pm
-+
=mp
--
=mm
++
=po
--
=mo
The text was updated successfully, but these errors were encountered: