How cos301-se-2026/full-sms works
Full SMS is a web platform for single-molecule spectroscopy data analysis and collaborative research. The main user journey is to upload and identify measurement files, organize them in workspaces, analyze data, and save or export results. The graph also preserves documented capabilities for sessions, plugins and their marketplace, comments, notifications, cloud integration, and IRF mapping. Source excerpts show selected route, controller, service, and storage calls; unsampled capability links are dashed where the README or tree supports the feature but not its wiring.
Main entry points: main.py FastAPI application · analysis_controller.py Analysis endpoints · supabase_client.py Supabase services · format_routes.py Format detection and reading
Components 24
Web application
- Next.js interface
frontend/app/analysisHub/page.tsx - Workspace dashboard
frontend/app/dashboard/page.tsx - File upload
frontend/app/upload/page.tsx
API and orchestration
- FastAPI application
api/main.py - Format detection and reading
api/routes/format_routes.py - Object storage
api/services/storage_service.py - Supabase services
api/utils/supabase_client.py - Authentication
api/services/auth_service.py
Scientific data
- Measurement data
api/services/measurement_service.py - Analysis endpoints
api/controllers/analysis_controller.py - Clustering analysis
api/legacy/analysis/clustering.py - Lifetime fitting
api/legacy/analysis/lifetime.py - Correlation analysis
api/legacy/analysis/correlation.py - Intensity levels
api/legacy/models/level.py - Analysis sessions
api/legacy/io/session.py - Result export
api/services/export_service.py - IRF mapping
api/controllers/irf_mapping_controller.py
Research collaboration
- Workspace management
api/controllers/workspace_controller.py - Workspace comments
api/services/comment_service.py - Notifications
api/services/notification_service.py
Plugins and integrations
- Plugin execution
api/services/plugin_execution_service.py - Plugin marketplace
api/controllers/plugin_marketplace_controller.py
Other components
- Researcher
- OneDrive
Connections 30
- Researcher → Next.js interface: uses
README.md - Next.js interface → FastAPI application: requests
- Researcher → Workspace dashboard: organizes work
- Workspace dashboard → Workspace management: manages
- Researcher → File upload: selects files
- File upload → FastAPI application: uploads
- FastAPI application → Format detection and reading: routes requests
api/main.py - Format detection and reading → Object storage: stores uploads
api/routes/format_routes.py - Object storage → Supabase services: reads and writes
api/services/storage_service.py - FastAPI application → Workspace management: routes requests
api/main.py - Workspace management → Supabase services: persists workspace data
- FastAPI application → Analysis endpoints: routes requests
api/main.py - Analysis endpoints → Clustering analysis: runs analysis
- Analysis endpoints → Lifetime fitting: runs analysis
- Analysis endpoints → Correlation analysis: runs analysis
- Clustering analysis → Intensity levels: uses
api/legacy/analysis/clustering.py - Format detection and reading → Measurement data: prepares data
- Analysis endpoints → Measurement data: analyzes
- Researcher → Analysis sessions: saves analyses
- Analysis sessions → Result export: exports results
- FastAPI application → Authentication: routes authentication
api/main.py - Authentication → Supabase services: links integration
api/services/auth_service.py - Researcher → Plugin execution: runs plugins
- Plugin execution → Plugin marketplace: obtains extensions
- Researcher → Workspace comments: collaborates
- Researcher → Notifications: receives updates
- Authentication → OneDrive: exchanges tokens
api/services/auth_service.py - Researcher → IRF mapping: maps IRFs
- IRF mapping → Supabase services: queries mappings
api/controllers/irf_mapping_controller.py - IRF mapping → Object storage: downloads IRF
api/controllers/irf_mapping_controller.py