ptypy.core.geometry.translate_to_pix#

ptypy.core.geometry.translate_to_pix(sh, center)#

Translate arbitrary input to a pixel position with respect to sh.