To convert interfiles to DICOM:
- Clone this repository to
/path/to/intf2dicom_dosimetry
- In whatever python script your using, add
sys.path.append('/path/to/intf2dicom_dosimetry/src')
at the top of the script - Then
from intf2dicom_dosimetry import intf2dcm
. - Make sure the interfile header and data are in the same directory. Then use
intf2dcm(headerfile_path)
to convert the interfile header to a pydicom dataset.