Feature #2300

Provide beam divergence for OffSpecular simulation via PythonAPI

Added by pospelov about 1 month ago. Updated 28 days ago.

Status:SprintStart date:12 Feb 2019
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Sprint 41

Description

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").

History

#1 Updated by herck 28 days ago

  • Target version changed from Sprint 40 to Sprint 41

Also available in: Atom PDF