yijiang1 / fold_slice

Electron/X-ray ptychography and tomography/laminography
https://chat.openai.com/g/g-YKQKluCy9-foldslicegpt
82 stars 26 forks source link

fix variable type bug in estimate_reliability_region_grad #108

Closed yijiang1 closed 2 years ago

yijiang1 commented 2 years ago

Alway convert "r_close" and "r_erode" to double to prevent potential errors when the function is used in tomo.block_fun. An error may occur if the data size is small.