code: def _get_delta(self, stds, dists):
          
          delta = np.maximum((0.1-0.001*dists.repi), np.zeros_like(dists.repi))
          return delta
docs: Computes the additional delta to be used for the computation of the
          upp and low models