-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Motivation
Many first time CHART users, particularly those running observations on a Raspberry Pi, need a quick way to verify data quality before transferring it for further analysis. Currently, this requires launching Jupyter Notebooks or standalone scripts. Adding a quick-look capability within the GUI will make this process more user-friendly.
Proposed Feature
Add two new buttons in the GUI:
- Preview Raw: Plots uncalibrated spectra exactly as collected from the SDR.
- Preview Calibrated: Shows spectra after applying simple bandpass and gain corrections.
This will enable users to visualize the collected data directly from the GUI immediately after saving. (It could also be extended to support dynamic updates.)
Implementation Overview
Both buttons will reuse the existing chart.analysis.read_run() function to load and parse the data.
A new backend module, daq/quicklook.py, can be added to handle the plotting and processing logic.
Buttons will remain disabled during data collection and will automatically enable once the run is complete or instead the user can specify a directory path from previous runs. (This feature could also be made dynamic.)
Example Structure:
CHART/
├── daq/
│ ├── chart-observe.py ← update main GUI controller
│ └── quicklook.py ← new backend for quick-look plotting
└── analysis/
└── ... (existing analysis and utilities)