How to get depthX and depthY maps from Orbbec Astra Pro

Hello everyone,
I am accessing the depth stream from Orbbec Astra Pro camera using OpenNi APIs in python. The depth stream accessed is the distance map i.e. the depthZ map. How do I get the depthX and depthY maps for the same.

Thanks and regards,