Pylinac image

Hello,
I need the articles that pylinac use to calculate and their tolerance: Uniformity and low contrast visibility.
I want to add a test. Would you like to show me how to do it?

Best regards

You can inspect any of the pylinac modules code at any time here which is pretty useful: https://github.com/jrkerns/pylinac/tree/14a5296ae4ee0ecb01865d08f15070c82e19fc45/pylinac

I had the same questions myself but about expected HU values of the different CatPhan density inserts and was able to find them there.

See here for low contrast visibility calculation: https://github.com/jrkerns/pylinac/blob/14a5296ae4ee0ecb01865d08f15070c82e19fc45/pylinac/ct.py#L372
Here is the class for the CTP486 HU Uniformity: https://github.com/jrkerns/pylinac/blob/14a5296ae4ee0ecb01865d08f15070c82e19fc45/pylinac/ct.py#L483

Here tolerance is set using analyse() (default is 1 for low contrast tolerance and 40 for HU uniformity and linearity tolerance): https://github.com/jrkerns/pylinac/blob/14a5296ae4ee0ecb01865d08f15070c82e19fc45/pylinac/ct.py#L1176