calamari.fitting.models.BENT_CABLE_GAMMA_START_SPACINGS#
- calamari.fitting.models.BENT_CABLE_GAMMA_START_SPACINGS = 2.0#
Where the
bent_cable()guess startsgamma, in median sample spacings ofx. A bend narrower than one spacing may hold no sample at all, and then the cost does not change withgamma: MIGRAD’s first step sees a flat direction. Two spacings put about four samples inside the bend, so the cost has a gradient ingammafrom the start, whether the true corner is sharp or rounded, while staying a small part of any range withMIN_POINTS_PER_SEGMENTpoints on each arm, so the seed is still close to the sharp-corner solution the rest of the guess comes from.