HU Values in cheese phantom analysis

32 views
Skip to first unread message

James Han

unread,
Feb 14, 2025, 11:09:28 AMFeb 14
to Pylinac
Hi,

I was wondering - are the median values for HU rounded somewhere?
I wanted to sharpen the pencil a bit and get one more significant digit.

I revised the format of the result from ".1f" to ".2f" but find the result still either .00 or .50.

Thanks

tbe...@gmail.com

unread,
Feb 18, 2025, 8:51:34 AMFeb 18
to Pylinac
Hi,
the relevant base class here is the DiskROI (https://pylinac.readthedocs.io/en/latest/_modules/pylinac/core/roi.html#DiskROI) which seems to not round by itself. So editing the results function to show .2f should work.
Since HU are integer values, having two digits for the mean is not really useful btw.

regards
Thomas

James Han

unread,
Feb 18, 2025, 10:26:30 AMFeb 18
to tbe...@gmail.com, Pylinac
Thanks.  So because it's looking at median - it is grabbing only existing HU so it isn't actually rounded anywhere - this is why 1f and 2f don't yield any data
Athough not sure when I get the occasionaly 0.5.  My constancy tolerance is 5 HU so every little helps but since this is a median value - no value obtaining tenth decimal place (since they don't exist).

 


--
You received this message because you are subscribed to the Google Groups "Pylinac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylinac+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pylinac/885e391a-bbf9-4552-9166-1bed40c50256n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages