Skip to content

Commit a935852

Browse files
authored
skimage changed default mode to nearest
in skimage2
1 parent 8837b77 commit a935852

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

acstools/satdet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def _detsat_one(filename, ext, sigma=2.0, low_thresh=0.1, h_thresh=0.5,
208208

209209
# get the edges
210210
immax = np.max(image)
211-
edge = canny(image, sigma=sigma,
211+
edge = canny(image, sigma=sigma, mode='constant',
212212
low_threshold=immax * low_thresh,
213213
high_threshold=immax * h_thresh)
214214

0 commit comments

Comments
 (0)