Skip to content

Calibrating the acceptance-angle axis of the simulation

Sorry to keep pestering you.

I wish to calibrate the acceptance-angle axis of a simulated dataset.

The following is taken from the docs, describing the parameter file:

    detector_min_angle = 1.0;    # inner detector angle in mrad
    detector_max_angle = 300.0;  # outer detector angle in mrad
    detector_num_angles = 300;   # number of bins of the ADF detector.

To reduce the example a bit:

    detector_min_angle = 1.0;    # inner detector angle in mrad
    detector_max_angle = 2.0;  # outer detector angle in mrad
    detector_num_angles = 2;   # number of bins of the ADF detector.

If the following diagram represents the two bins, are the edges now correctly placed?

 |...|...|
1.0_____2.0

The reason I ask is that I found the choice of angles in the docs to be a little bit odd - from 1.0 mrad to 300.0 mrad with 300 bins will give each bin just less than 1 mrad.