jrkerns / pylinac

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

Calibration protokol TRS398 k_t_p calculation #520

Closed bozhikovstanislav closed 1 month ago

bozhikovstanislav commented 1 month ago

Describe the bug A clear and concise description of what the bug is. the formula for k_t_p --- for TG51 return ((273.2 + temp) / 295.2) * (101.33 / press)

the formula for k_t_p - for TRS38 return ((273.2 + temp) / 293.2) * (101.33 / press)

it is around 1% difference - most SSDL in EU do calibration on 20 C To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. {48D3734B-C602-4E81-B654-0800B30D058E}

Additional context Add any other context about the problem here. {26F79350-C74B-4E08-8AD6-B71B2E030FC6}

jrkerns commented 1 month ago

I definitely missed the difference in reference temperature! Really sorry about that. I'll have a fix and warning in the docs.

jrkerns commented 1 month ago

Will be fixed in v3.29!

jrkerns commented 1 month ago

https://pylinac.readthedocs.io/en/latest/changelog.html#trs-398