healpy.projector.CartesianProj.xy2ij¶
- CartesianProj.xy2ij(x, y=None)¶
From position in the projection plane to image array index (Cartesian).
- Input:
x : if y is None, x[0], x[1] define the position in Cartesian plane.
y : if defined, x,y define the position in projection plane.
projinfo : additional projection information.
- Return:
i,j : image array indices.