Remove some calculations out of the loop to speed up pixel digitization

Has no impact on the output

Merge request reports

Loading