Sample treatment involving radiation