This bit of code is reused several times throughout plan.py. It should be made into a utility / helper function. The function should be flexible for handling different required mask types and validating those inputs across the different _roughness metrics etc.
This bit of code is reused several times throughout
plan.py. It should be made into a utility / helper function. The function should be flexible for handling different required mask types and validating those inputs across the different_roughnessmetrics etc.