Feature #2300

PythonAPI: provide beam divergence for OffSpecular simulation

Added by pospelov almost 2 years ago. Updated 2 months ago.

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

0%

Category:-
Target version:-

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 almost 2 years ago

  • Target version changed from Sprint 40 to Sprint 41

#2 Updated by pospelov over 1 year ago

  • Status changed from Sprint to Backlog

#3 Updated by pospelov over 1 year ago

  • Target version deleted (Sprint 41)

#4 Updated by wuttke 2 months ago

  • Subject changed from Provide beam divergence for OffSpecular simulation via PythonAPI to PythonAPI: provide beam divergence for OffSpecular simulation

Also available in: Atom PDF