Open olivecha opened 3 years ago
The error occurs when there is a zero in the array :
spec[WR_upper_f_limit_idx:]
a working fix is replacing the line 217 with :
above_WR_spec = [value if value == 0 else np.log10(value) for value in spec[WR_upper_f_limit_idx:]]
The error occurs when there is a zero in the array :
a working fix is replacing the line 217 with :