gamma passing rate

Thank you for developing this library. I am trying to calculate the gamma passing rate using trajectory bin files, but I always get a result of 100%, with no errors and no visible differences in the gamma map plot. Am I making a mistake somewhere? Below is the code I am using:

log.fluence.actual.calc_map()
log.fluence.actual.plot_map()

log.fluence.expected.calc_map(resolution=1)
log.fluence.expected.plot_map()

log.fluence.gamma.calc_map()
log.fluence.gamma.plot_map()

log.fluence.gamma.plot_map()
log.fluence.gamma.pass_prcnt

Thank you for developing this library. I am trying to calculate the gamma passing rate using trajectory bin files, but I consistently get a result of 100% without any errors and no variations in the gamma map plot. Am I making a mistake somewhere?

Thank you,
Best regards

Hi,
for the gamma analysis you can lower the criteria with distTA and doseTA. For example:
tlog.fluence.gamma.calc_map(distTA=0.1, doseTA=0.1, resolution=0.1)
Since the MLC will interlock with positioning differences in the range of 0.2 mm you can’t expect to see results below 100% with the default gamma values of 1%/1mm.

regards
Thomas