Elekta EPIDQC analysis

Hi,
I’m trying to analyze the PTW EPIDQC image in tif format acquired with elekta. When I run the analysis the software returns the following error

FileImage object has no attribute metadata

Then I tried to convert the tif image in dcm by giving some metadata (as sid, gantry, collimator, counch, dpi) as follows

from pylinac import image
my_dcm = image.tiff_to_dicom(
“path to tif”, sid=1400, gantry=0, coll=0, couch=0, dpi=400)
)
my_dcm.save(same path)

but the script gave me the following error
“Dataset object has no attribute save”

Have you some suggestion?
Thank you for your repky
Andrea

The object returned is a pydicom Dataset. You can read how to save that out to a dicom file here: Dataset basics: read, access, modify, write — pydicom 3.0.1 documentation