NOMAD Stop Detection Dashboard is an interactive web app for learning about stop detection algorithms commonly used in human mobility science. It helps users inspect how GPS or mobility traces are transformed into stops, compare algorithm behavior side by side, and understand how parameter choices affect detected visits, trajectories, and aggregate performance metrics.
The dashboard currently focuses on algorithms and algorithm families such as DBSTOP, Lachesis, SeqScan, ST-DBSCAN, grid-based detection, and medoid-style detection. The app is designed as a teaching and exploration surface: users can read concise algorithm explanations, tune parameters, visualize trajectory outputs, and compare cached notebook-style experiment figures.
- Interactive stop detection learning dashboard built around human mobility science workflows.
- Algorithm cards with descriptions, parameter controls, references, and visual examples.
- Side-by-side comparison mode for inspecting how two algorithms classify the same trajectory.
- Aggregated metrics view for comparing recall-style experiment outputs across parameter sweeps.
- Cached figure and API routes so the app can render useful visualizations without rerunning every notebook experiment.
- Next.js 16 provides the app framework, routing, metadata, and API routes.
- React 19 powers the interactive dashboard UI.
- TypeScript is used throughout the frontend and API route layer.
- Tailwind CSS 4 provides utility-first styling and theme tokens.
- shadcn/ui-style components with Radix UI primitives provide accessible controls such as cards, selects, tabs, dialogs, inputs, and tooltips.
- Lucide React supplies the dashboard icons.
- Python scripts with NumPy, pandas, GeoPandas, and NOMAD generate the static stop-detection cache.
- Cached parquet/JSON results let the dashboard show stop detection outputs quickly without a live Python runtime.
.
├── dashboard/ # Next.js application
│ ├── app/ # App Router pages and API routes
│ ├── components/ # UI components
│ └── public/ # Static images used by the dashboard
├── build_cache/ # Cache generation scripts
├── cached_results/ # Generated dashboard cache artifacts
└── README.md
cd dashboard
npm install
npm run devThe dashboard reads comparison and metrics data directly from dashboard/public/cached-results.
The source cache is generated ahead of time and kept in cached_results.
The app does not require Next API routes or a Python backend at runtime.
Regenerate the source caches with:
python3 -m pip install -r build_cache/requirements.txt
python3 build_cache/generate_demo_caches.py