continue translating py_ray_tracing to py_imgcoord