baby.segmentation.prior_resid_weight

baby.segmentation.prior_resid_weight(resid, gauss_scale=5, exp_scale=1)

Weights radial residuals to bias towards the initial guess

Weight decays as a gaussian for positive residuals and exponentially for negative residuals. So assuming resid = rho_guess - rho_initial, then larger radii are favoured.