How suchismitasarker/qm2-detailed-dataanalysis works
QM2 Unified Data Analysis App is a single-file Flask application for browsing and analyzing CHESS X-ray scattering/diffraction data. The principal workflow is a browser request routed to an analysis view, which reads scan, NeXus, or detector-image data and presents plots or exports. The README documents the app’s major routes and integrations, but app.py was not included among the sampled source excerpts; component boundaries and internal call relationships therefore remain unverified.
Main entry points: app.py Flask application
Components 22
Web application
- Flask application
app.py - Browse and help
app.py - Sample search
app.py
Scan analysis
- Scan plotting
app.py - Scan CSV export
app.py - Temperature selection
app.py - Temperature plotting
app.py - Dataset comparison
app.py - Temperature exports
app.py
NeXus analysis
- NXprocess tools
app.py - Slice analysis
app.py - Thin-film view
app.py - Order-parameter view
app.py - Lattice view
app.py - 1D linecut view
app.py - Slice exports
app.py
Detector analysis
- Azimuthal integration
app.py
Other components
- Browser user
- Scan data files
- NeXus data files
- Detector images
- fabio / pyFAI
Connections 28
- Browser user → Flask application: requests pages
README.md - Flask application → Browse and help: serves routes
README.md - Flask application → Sample search: serves search
README.md - Flask application → Scan plotting: serves plotting
README.md - Flask application → Scan CSV export: serves export
README.md - Flask application → Temperature selection: serves selection
README.md - Flask application → Temperature plotting: serves plotting
README.md - Flask application → Dataset comparison: serves comparison
README.md - Flask application → Temperature exports: serves exports
README.md - Flask application → NXprocess tools: serves tools
README.md - Flask application → Slice analysis: serves analysis
README.md - Flask application → Azimuthal integration: serves integration
README.md - Scan plotting → Scan data files: reads scans
README.md - Scan CSV export → Scan data files: exports data
README.md - Temperature plotting → Scan data files: plots scan data
README.md - Dataset comparison → Scan data files: compares datasets
README.md - Sample search → Scan data files: searches samples
README.md - Slice analysis → Thin-film view: offers view
README.md - Slice analysis → Order-parameter view: offers view
README.md - Slice analysis → Lattice view: offers view
README.md - Slice analysis → 1D linecut view: offers view
README.md - Thin-film view → NeXus data files: analyzes slices
README.md - Order-parameter view → NeXus data files: analyzes slices
README.md - Lattice view → NeXus data files: analyzes slices
README.md - 1D linecut view → NeXus data files: analyzes slices
README.md - Slice analysis → Slice exports: provides exports
README.md - Azimuthal integration → Detector images: integrates images
README.md - Azimuthal integration → fabio / pyFAI: uses libraries
README.md