cyjax.hom_to_affine#
- cyjax.hom_to_affine(hom, patch=None)#
Convert homogeneous to affine patch coordinates.
If patch is None, go to “numerically optimal” patch, in which all coordinates are \(|z_i| < 1\).
- Parameters:
hom (
Union
[Array
,ndarray
,bool_
,number
]) – Homogeneous coordinates.patch (
Optional
[int
]) – Affine coordinate patch to convert to.
- Returns:
Either a tuple containing coordinates and patch index, or just the coordinates if a patch index is provided.