Skip to content

Commit

Permalink
Fixed #1 empty sod list.
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonLee5 authored Mar 8, 2023
1 parent ef39a80 commit f9cbc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysaber/mainsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def estimate_blur(rads,sod,odd,pix_wid,edge,thresh=1e-6,pad=[3,3],masks=None,bda
trans_bounds_det.append(trans_bounds[i])
sod_det.append(sod[i])
sdd_det.append(sdd[i])
elif sod[i] > sod_avg and not only_src:
elif sod[i] >= sod_avg and not only_src:
rads_det.append(rads[i])
trans_models_det.append(trans_models[i])
trans_params_det.append(trans_params[i])
Expand Down

0 comments on commit f9cbc0a

Please sign in to comment.