a method and apparatus to generate a beam of coherent light including x - rays or xuv by colliding a high - intensity laser pulse with an electron beam that is accelerated by a synchronized laser pulse . applications include x - ray and euv lithography , protein structural analysis , plasma diagnostics , x - ray diffraction , crack analysis , non - destructive testing , surface science and ultrafast science .