jrkerns / pylinac

An image analysis library for medical physics
https://pylinac.readthedocs.io/en/latest/
MIT License
153 stars 98 forks source link

non-1000 SID images #492

Open seandomal opened 5 months ago

seandomal commented 5 months ago

I am trying to use the picket fence module for our elekta unity machine in which the iso is at 143.5 cm instead of 100 cm. I would like to request a feature update to allow for the integration of non-1000 SID images with appropriate error scaling.

jrkerns commented 2 months ago

The iso is already accounted for if the image has the appropriate tags. Pylinac will use the DICOM tags if they exist (and ignore anything passed), otherwise you can specify them yourself.

E.g.

pf = PicketFence(f, image_kwargs={'sad': 1435, 'sid': 1600})  # only works if the DICOM tags are missing. 

You can attach the image if you want and we can check the tags. Elekta has a pretty terrible track record for them so it's not out of the question.