jaxvacua.flux_utils.is_physical

Contents

jaxvacua.flux_utils.is_physical#

is_physical(model, sampler, x, moduli_max=None, verbose=False)#

Decide whether the converged candidate point x lies in the physical region of moduli space.

Parameters:
  • model (Any) – Finder instance providing _convert_real_to_complex(), lcs_tree and (for check 3) kahler_metric().

  • sampler (Any) – Sampler instance providing the s_lower attribute (dilaton floor). Passed explicitly so the helper is decoupled from any particular finder configuration.

  • x (Any) – Converged real-coord solution vector.

  • moduli_max (float) – If not None, reject points with max(|moduli|, |tau|) > moduli_max (runaway check). Defaults to None (no runaway check).

  • verbose (bool) – If True, print which check rejected the point (useful for debugging “why was my candidate filtered?”). Defaults to False.

Returns:
  • boolTrue if x is in the physical region by all applicable

  • checks, ``False`` otherwise.

Return type:

bool