Skip to content

Self-consistent active set

pyvoro2.powerfit.active

Self-consistent active-set refinement for pairwise separator constraints.

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

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.

:::