Department of Urban Planning and Public Policy · UC Irvine

We build open-source methods, models, and software for understanding sociospatial structure.

SSUS is the research lab of Elijah Knaap at the University of California, Irvine, and the institutional home of oturns, open tools for urban, regional, and neighborhood science. We study who lives where and why: how households sort across neighborhoods, how housing and land markets price location, and how the resulting patterns of segregation and opportunity change over time.

The questions come from policy. Our models have informed a federal fair-housing evaluation, a regional plan, and public health work on fatal overdoses, and the methods behind them ship as software so others can check the analysis and use it on their own decisions.

Research areas

Sorting and markets

  • Segregation
  • Residential sorting
  • Location choice
  • Housing and land markets
  • Neighborhood dynamics

Spatial methods

  • Spatial data science
  • Urban analytics
  • Computational social science
  • Spatial econometrics

Inequality and policy

  • Social inequality
  • Neighborhood change
  • Access to opportunity
  • Spatial dimensions of public health
Nine small line charts, one per metropolitan area, each showing a segregation index falling as the distance defining the neighborhood grows, with one line per census year from 1980 to 2010.

From the work

Segregation depends on the scale you measure it at

A multiscalar profile recomputes segregation as the neighborhood around each location widens. Here, nine U.S. metropolitan areas from 1980 to 2010: the curves fall with distance, and the shape of the fall differs from one metro to the next.

The segregation package computes these profiles

Projects

All projects

Selected publications

All publications
  1. 2026
    segregation: Segregation Analysis, Inference, and Decomposition in Python

    Renan X. Cortes, Elijah Knaap, Sergio J. Rey · Journal of Open Source Software

  2. 2025
    Exploring Space-Time Interactions in Fatal Opioid Overdoses

    Sergio J. Rey, Elijah Knaap, Alejandra Cabral, Jennifer Syvertsen · Geographical Analysis

  3. 2024
    Segregated by design? Street network topological structure and the measurement of urban segregation

    Elijah Knaap and Sergio Rey · Environment and Planning B: Urban Analytics and City Science

  4. 2024
  5. 2024
    The Legacy of Redlining: A Spatial Dynamics Perspective

    Sergio J. Rey and Elijah Knaap · International Regional Science Review

  6. 2017

Software

All software

SSUS Numerical and statistical tools developed in the lab.

sparsax Lead

Sparse direct solvers for JAX, backed by SuiteSparse: factorizations, solves, and log-determinants that run natively inside compiled code.

pip install sparsax Source
pgjax Lead

Pólya-Gamma sampling on device for JAX, inside compiled, scanned, and parallel programs.

pip install pgjax Source

The Bayesian version of the tests an introductory statistics course teaches, printed beside the conventional test.

pip install bayesplain Source
neighbayes Pre-release

Bayesian estimation of spatial econometric models in Python.

pip install neighbayes Source
locpick Pre-release

Discrete choice models of location decisions: households, individuals, or firms choosing among places.

pip install locpick Source

oturns Open tools for urban, regional, and neighborhood science.

geosnap Lead

The Geospatial Neighborhood Analysis Package: exploring, modeling, and visualizing the social context and spatial extent of neighborhoods and regions over time.

pip install geosnap Source
pandarm Lead

The pandas routing machine: travel network analysis on contraction hierarchies, with a pandas interface.

pip install pandarm Source
netweave Experimental

Transit and pedestrian networks woven into one routable multimodal graph for accessibility analysis.

PySAL The Python Spatial Analysis Library. The lab leads the packages below; Eli is a core developer and serves on the steering committee.

Segregation measurement: single-group, multigroup, and local indices, spatial and aspatial, with inference and decomposition.

pip install segregation Source
tobler Lead

Areal interpolation, dasymetric mapping, change of support, and small area estimation.

pip install tobler Source

People