Provide beam divergence for OffSpecular simulation via PythonAPI
|Status:||Sprint||Start date:||12 Feb 2019|
|Target version:||Sprint 41|
Seems that beam divergence doesn't work. Whatever settings of incidence beam are, following exception is thrown
what(): ParameterPool::set_value_error() -> Attempt to set value -0.00349066 for parameter '/OffSpecSimulation/Instrument/Beam/InclinationAngle' failed. Parameter limits: 'limited(0.00,1.57)'. Original exception message: Cannot set parameter Beam//OffSpecSimulation/Instrument/Beam/InclinationAngle to value -0.00349066: out of bounds [limited(0.00,1.57)]Within this issue:
- Provide possibility to simulate OffSpecular instrument with beam divergence.
- Provide user example.
- Fix also error text "Beam//OffSpecSimulation/Instrument" (the word "Beam" shouldn't be merged with "OffSpecSimulation").