In this example we demonstrate how to plot intensity data with detector axes expressed in different units. It serves as a supporting example to the Accessing simulation results tutorial.
Simulation::result()
method is used to get a SimulationResult
object.IDetector2D.NBINS
, IDetector2D.DEGREES
, IDetector2D.QYQZ
, it will be plotted with axes defined either in millimeters (default units of RectangularDetector
), detector bins, degrees or in $Q$-space.
|
|