Just a wild guess...
X rays cannot be focused, they emit in the shape of the explosion.
But, a explosion could be shaped for an extremely short instant using various foams that resist pressure differently.
The formed explosion then emits for that instant how its designers intend.
Rings a distant bell about something about mining explosives, might have read something years ago, probably a science magazine.