Do a coordinates conversion for loaded specular data (#811)
-
PointwiseAxisItemgets values directly from loader, so the point values are given in "1/nm" or "rad". Our example is q-based, so the conversion "1/nm"-->"rad" is necessary inSpecularInstrumentItem::makeFrame(). - Another problem is that result of
SpecularInstrumentItem::makeFrame()is used for both computation and representation in instrument range widgets. So additional conversion "rad"-->"deg" was needed.
Resolves #811 (closed)
Edited by Mikhail Svechnikov