The cosα method for X-ray residual stress measurement using two-dimensional detector | Synapse