Subpixel refinement of Bragg peak position of