Do a coordinates conversion for loaded specular data (#811)

  1. PointwiseAxisItem gets 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 in SpecularInstrumentItem::makeFrame().
  2. 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

Merge request reports

Loading