API Reference

Exhaustive API Index

Complete Python type annotations, parameter constraints, return dataclasses, and raised exceptions.

Module moveq_core.equity

compute_gini(values, weights) -> float

Calculates the population-weighted Gini coefficient via numerical integration of the Lorenz curve.

compute_palma_ratio(values, weights) -> float

Calculates the Palma ratio (top 10% mean service / bottom 40% mean service) with continuous boundary splitting.

compute_concentration_index(service, rank, population) -> float

Calculates the Wagstaff Concentration Index with group-averaged fractional ranks for tied rank values.

Module moveq_core.score

compute_score(terms, weights, *, labels=None, n_areas=None, context=None) -> ScoreResult

Evaluates a weighted 0-100 composite score, dropping missing terms (None) and renormalizing active design weights.

Module moveq_catalogue.catalogue

Catalogue(base_sections: list[str], country: str)

Cross-country questionnaire harmonization registry.