Detection of elastic strain in an amorphous polymer by X-ray scattering