Skip to content

Self-consistent active set

Deprecated compatibility route

This v0.7 historical module will be removed in v0.8. Import the experimental active-set API from pyvoro2.inverse.separator instead.

pyvoro2.powerfit.active

Compatibility exports for separator active-set fitting.

ActiveSetPathSummary dataclass

Compact summary of transient active-set path diagnostics.

PairConstraintDiagnostics dataclass

to_records(*, ids=None)

Return one plain-Python record per candidate pair.

SelfConsistentPowerFitResult dataclass

candidate_diagnostics property

Return final diagnostics over every candidate observation.

final_realization property

Return realization diagnostics for the final fitted state.

inner_fit property

Return the final fixed-observation inner fit.

outer_termination property

Return termination metadata for the experimental outer loop.

path property

Return the final active state and optional path history.

to_records(*, use_ids=False)

Return one plain-Python record per candidate pair.

to_report(*, use_ids=False)

Return a JSON-friendly report for this active-set solve.

solve_self_consistent_power_weights(points, constraints, *, measurement='fraction', domain, ids=None, index_mode='index', image='nearest', image_search=1, confidence=None, model=None, active0=None, options=None, r_min=0.0, weight_shift=None, fit_solver='auto', fit_max_iter=2000, fit_rho=1.0, fit_tol_abs=1e-06, fit_tol_rel=1e-05, return_history=False, return_cells=False, return_boundary_measure=False, return_tessellation_diagnostics=False, tessellation_check='diagnose', connectivity_check='warn', unaccounted_pair_check='warn')

Iteratively refine an active pair set against realized power-diagram boundaries.

:::