Abstract: The present invention related to miniaturized x-ray tubes, that enable radiation treatment by locating the x-ray source within a human body in close vicinity to or inside of the area to be treated with X-rays. Advantageously, the present invention eliminates most of the problems related to the methods based on a radioactive source and offers a method for efficient and controllable radiation treatment.