Year: 2026
Type: article
Abstract: segregation is an open-source Python library for measuring, analyzing, inferring, and decomposing social and spatial segregation. Developed within the PySAL ecosystem, it provides a comprehensive framework for quantifying segregation across demographic, socioeconomic, and geographic contexts using both aspatial and spatially explicit measures. The package implements over 40 single-group, multigroup, local, and spatial segregation indices, capturing dimensions such as evenness, exposure, concentration, clustering, centralization, and spatial proximity. It supports multiple spatial representations, including adjacency, distance-based, and network-based relationships.
DOI: 10.21105/joss.11126
Authors: Renan X. Cortes, Elijah Knaap, Sergio J. Rey
Language: English
Subfield: Sociology and Political Science
Field: Social Sciences
Domain: Social Sciences
SDG: Reduced inequalities
Open Access status: diamond
OpenAlex ID: W7212440371
