cyjax.fs_potential#

cyjax.fs_potential(zs, zs_c=None, hom=False)#

Kaehler potential of FS metric.

This computes:

\[K = \ln(1 + |z|^2)\]

Since the FS potential is symmetric, don’t need the patch index as input.

The coordinate array zs can have any shape (at least rank 1). The last dimension of the array is interpreted as the coordinate-index and determines the projective dimension.

Parameters:
  • zs (Union[Array, ndarray, bool_, number]) – Affine coordinates.

  • zs_c (Union[Array, ndarray, bool_, number, None]) – (Optional) Complex conjugate affine coordinates. Can be explicitly passed to facilitate holomorphic gradient computation or to avoid re-computation.

  • hom (bool) – If true, input is interpreted as homogeneous coordinates instead of affine coordinates.

Return type:

Union[Array, ndarray, bool_, number]

Returns:

Real value representing the Fubini-Study potential at the given point.