Closed NelleV closed 4 years ago
Resolution: at lines 91 and 266 in utils.py, add:
if r_mid < 1:
such that
iS= (R >= r_mid)
Half_s[iR & iS] = ((2+(R[iR & iS] - r_mid)/(1 - r_mid)*(s_out*N/Lg-2))/2).astype(int)
becomes:
if r_mid < 1:
iS= (R >= r_mid)
Half_s[iR & iS] = ((2+(R[iR & iS] - r_mid)/(1 - r_mid)*(s_out*N/Lg-2))/2).astype(int)