pylinac icon indicating copy to clipboard operation
pylinac copied to clipboard

Calibration protokol TRS398 k_t_p calculation

Open bozhikovstanislav opened this issue 1 year ago • 2 comments

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}

bozhikovstanislav avatar Oct 13 '24 19:10 bozhikovstanislav

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

jrkerns avatar Oct 14 '24 13:10 jrkerns

Will be fixed in v3.29!

jrkerns avatar Oct 15 '24 21:10 jrkerns

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

jrkerns avatar Oct 28 '24 14:10 jrkerns