Picket numbering

Hello guys

I have a picket fence analysed with pylinac picketfence module. I am bit puzzled with the picket numbering, if I print the results it says the maximum errors is on picket 2 but visually the max error (red dot) is on picket 3 whether you count if from L-R or R-L.

Please see the attached image. Please ignore the red text in the image.

Any clarification well appreciated.


Medical Physicist
TCH, Canberra,Australia


The pickets, like Python itself, uses a 0-based index, meaning the count goes 0, 1, 2, 3, 4 not 1, 2, 3, 4, 5.

For version 1.0, I’m working on a better way to visualize the maximum error; probably by plotting profiles. Suggestions are welcome,