Desktop application 2026–present

GMM Desktop App

The GMM Desktop App brings geometric morphometrics into one local workflow. Its NiceGUI interface connects a tested Python numerical core with R-backed methods, while the companion GMM_modern library prototypes 3D viewers, landmark and template builders, and GPU morphing.

Explore gmm-core on GitHub, the public Python numerical core.

  • Python
  • NiceGUI
  • R / geomorph
  • NumPy
  • SciPy
  • Plotly
  • trimesh
  • pytest
GMM Desktop inspecting the metadata of a synthetic landmark dataset
Checking specimen labels and groups in a synthetic landmark dataset.

01 · Problem

What needed solving

Researchers and students often move between specialist programs, spreadsheets and one-off scripts to prepare landmark data, check quality, run shape analyses and create outputs. Every hand-off adds friction and makes analytical decisions harder to audit.

Years of repeating, explaining and troubleshooting the same analytical steps made the product opportunity clear: preserve the scientific decisions while making the workflow easier to use.

How it works

Read the workflow
  1. Built a format-aware import and validation layer for spreadsheet and specialist morphology exports.
  2. Implemented scaled and rigid Procrustes alignment, quality control and an explicit exclusions workflow.
  3. Organised analyses behind a shared registry, including PCA, allometry, symmetry, measurement error and phylogenetic generalized least squares.
  4. Added a dataset library, session save and resume, and format round-trip checks for landmark data and analysis exports.
  5. Added per-job logs and an in-app Problems view for segmentation and landmarking failures.
See the technical constraints
  • Support several scientific file formats without silently changing coordinate structure.
  • Keep exclusions, transformations and model choices visible to the user.
  • Make demanding operations such as thin-plate-spline mesh warping responsive on large surfaces.
  • Separate reusable numerical code from the interface so the analysis can be tested independently.

Reproduce a shape analysis

The public Python core includes a reproducible example that imports an open landmark dataset, aligns the shapes and runs PCA and group comparisons.

Run the open-data example.

Validation and results

Automated coverage includes file import and export round trips, data validation, registered analyses and job logging. Real-data checks exposed coordinate and import problems that synthetic fixtures did not cover.

Researchers can inspect and align landmark configurations, run Python and R analyses, and export the results with their analysis settings. The desktop interface now also supports pelvic reassembly and reviewing individual CT and landmarking jobs.

05 · Learning

What the project clarified

  • A scientific interface should expose consequential choices instead of hiding them behind a single run button.
  • Real datasets are essential tests: they reveal structural and usability failures that tidy fixtures miss.
  • Separating analysis from presentation makes both the software and the scientific claims easier to inspect.

Next

Planned follow-through

  • Package the application for simpler installation outside the development machine.
  • Prepare a synthetic, rights-cleared demonstration dataset and interface walkthrough.
  • Document the relationship between the current desktop app and the earlier Basic-GMM prototype.