A computer-controlled stereotaxic radiotherapy system based on a low-frequency magnetic field technology integrated with a single fixation point stereotaxic guide has been designed and instituted. The magnetic field, generated in space by a special field source located in the accelerator gantry, is digitized in real time by a field sensor that is six degree-of-freedom measurement device. As this sensor is an integral part of the patient stereotaxic halo, the patient position (x, y, z) and orientation (azimuth, elevation, roll) within the accelerator frame of reference are always known. Six parameters--three coordinates and three Euler space angles--are continuously transmitted to a computer where they are analyzed and compared with the stereotaxic parameters of the target point. Hence, the system facilitates rapid and accurate patient set-up for stereotaxic treatment as well as monitoring of patient during the subsequent irradiation session. The stereotaxic system has been developed to promote the integration of diagnostic and therapeutic procedures, with the specific aim of integrating CT and/or MR aided tumor localization and long term (4- to 7-week) fractionated radiotherapy of small intracranial and ocular lesions.