How gotsunami/youpi works
Youpi is a browser-based FITS-image reduction application. Users organize and ingest images, choose processing plugins, submit and monitor cluster jobs, then inspect and share results with fine-grained permissions. The graph preserves the documented QualityFITS, SCAMP, SWarp, and SExtractor capabilities; it also shows the Condor execution layer and persistent domain state. Some plugin and view implementations were not sampled, so those capability links are documented at the README level rather than inferred as direct calls.
Main entry points: pluginmanager.py Plugin manager · models.py Domain records · condor.py Condor jobs · views.py Web views
Components 16
Web application
- Web views
terapix/youpi/views.py - Results and reports
terapix/youpi/cviews/reporting.py - Shared utilities
terapix/lib/common.py
Image ingestion
- Ingestion endpoints
terapix/youpi/cviews/ingestion.py - Ingestion script
terapix/script/ingestion.py
Processing pipeline
- Plugin manager
terapix/youpi/pluginmanager.py - QualityFITS
terapix/youpi/plugins/qualityfitsin.py - SCAMP
terapix/youpi/plugins/scamp.py - SWarp
terapix/youpi/plugins/swarp.py - SExtractor
terapix/youpi/plugins/sextractor.py
Cluster execution
- Cluster interface
terapix/lib/cluster/__init__.py - Condor jobs
terapix/lib/cluster/condor.py - Processing worker
terapix/script/wrapper_processing.py
Data and access
- Domain records
terapix/youpi/models.py - Sharing permissions
terapix/youpi/auth.py
Other components
- Browser user
Connections 21
- Browser user → Web views: uses
- Web views → Plugin manager: routes plugin calls
terapix/youpi/views.py - Web views → Ingestion endpoints: routes ingestion
terapix/youpi/views.py - Ingestion endpoints → Domain records: reads and updates
terapix/youpi/cviews/ingestion.py - Ingestion endpoints → Sharing permissions: checks access
terapix/youpi/cviews/ingestion.py - Browser user → Ingestion script: supplies image data
- Ingestion script → Domain records: records ingestion
terapix/script/ingestion.py - Plugin manager → Domain records: uses processing records
terapix/youpi/pluginmanager.py - Plugin manager → Cluster interface: uses cluster client
terapix/youpi/pluginmanager.py - QualityFITS → Condor jobs: submits jobs
terapix/youpi/plugins/qualityfitsin.py - QualityFITS → Domain records: records task results
terapix/youpi/plugins/qualityfitsin.py - SCAMP → Plugin manager: registered capability
- SWarp → Plugin manager: registered capability
- SExtractor → Plugin manager: registered capability
- Cluster interface → Condor jobs: Condor implementation
terapix/lib/cluster/__init__.py - Condor jobs → Processing worker: configures executable
terapix/lib/cluster/condor.py - Condor jobs → Domain records: tracks job state
terapix/lib/cluster/condor.py - Browser user → Results and reports: views results
- Results and reports → Domain records: reads result records
- Results and reports → Sharing permissions: enforces sharing
- Plugin manager → Shared utilities: uses shared helpers