jrkerns / pylinac

An image analysis library for medical physics
https://pylinac.readthedocs.io/en/latest/
MIT License
157 stars 99 forks source link

Set background_median and background_std to None when no background ROI's present #355

Closed randlet closed 3 years ago

randlet commented 3 years ago

This is a potential fix for #354. Sets background_std & background_median to None when background rois aren't present.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.05%) to 82.869% when pulling 41b72a7a470461b5f106deb19fde3506d6fce2c7 on qatrackplus:fix_background_med_std_calcs into 0232234230b2450961cfe9208e585e371bfe46c9 on jrkerns:master.