tlambert03 / pycudadecon

Python wrapper for cudaDecon - GPU accelerated 3D deconvolution for microscopy
http://www.talleylambert.com/pycudadecon/
MIT License
59 stars 12 forks source link

units used #35

Closed F-S-Menezes closed 2 years ago

F-S-Menezes commented 2 years ago

i am attempting to use the deskewGPU, and whilst it works fantastically, i wish to fine-tune my results to the microscope being used and so use the optional arguments. however, i can not see anywhere what units you are using? would it be correct to assume arguments such as dxdata, dzdata, and shift are in microns?

tlambert03 commented 2 years ago

For deskewing, what really matters is the ratio of dxdata and dzdata. so, I believe it should work regardless of your units, as long as dx and dz are in the same units. That is I think deskewGPU(..., dxdata=100, dzdata=500) should give the same result as deskewGPU(..., dxdata=.1, dzdata=.5). (but let me know if that doesn't seem to match your experience, and then assume microns). shift and width are in units of pixels.

F-S-Menezes commented 2 years ago

thank you for the swift response! i will close this issue once i have checked against some test files