The vertical offset of the centre of the second crystal is also of interest because we place the optic that follows the second crystal of the CC relative to it's centre.
In the above, the mauve line is the ray. The [FE] and [HG] segments are the crystals.
Further on the simulation of a simple case with the CC (channel-cut) only is presented. The optic that follows the second crystal of the CC will be placed relative to the centre of the second crystal of the CC.
The vertical offset of the centre of the second crystal is also of interest because we place the optic that follows the second crystal of the CC relative to it's centre.
For the simulation of the ROCK beamline, the ray is what is followed. Indeed the ray needs to hit the same place of the sample. Therefore we position the optic that follows the second crystal of the CC relative to it's centre modulo `h`.
...
...
@@ -128,6 +128,8 @@ This is for the ray arriving "horizontally". Because there's a divergence cone t