The incident beam can be reconstructed using a reference sample (Siemens star) online during the experiment using the PyNX software package.