Skip to content

caps

tit.server.routes.caps

/api/caps/* -- EEG caps on an existing head model (the optional EEG caps panel).

Synchronous on purpose, not a job: warping one cap onto sub-ernie takes 2.4 s and reading + cropping the head mesh 0.8 s (measured in the container, 2026-10-16), so a request is the honest unit (docs/dev/DECISIONS.md ยง 2026-10-16). Science lives in :mod:tit.caps; this module only checks names, confines paths to the project and maps errors to status codes.