Open randlet opened 3 years ago
Describe the bug
If you specify picket_spacing in the PicketFence.analyze method, peak_idxs doesn't get calculated and therefore throws an UnboundLocalError here.
picket_spacing
PicketFence.analyze
peak_idxs
UnboundLocalError
To Reproduce Steps to reproduce the behavior:
from pylinac.picketfence import PicketFence picket = PicketFence("picket.dcm") picket.analyze(picket_spacing=115)
Describe the bug
If you specify
picket_spacing
in thePicketFence.analyze
method,peak_idxs
doesn't get calculated and therefore throws anUnboundLocalError
here.To Reproduce Steps to reproduce the behavior: