Starting with version 1.5 of the merlin software, the
ScanX and ScanY fields are included with the acquisition
header (.hdr file), if the software knows about them.
We now try to read these and fall back to the old logic
if they are not present (#1630#1631).