How anqi-ally/final-year-project-f1 works
This is a laboratory ultrasonic scanning and imaging workflow. An operator runs a scan script, which coordinates motion and waveform acquisition; the resulting per-position CSV waveforms are stored under scan folders and later processed into A-, B-, or C-mode visualizations and signal-derived feature maps. The graph includes configuration and motion-control layers as well as the documented analysis branches. Some plot scripts are represented by their distinct capabilities; unsampled implementation details and links are omitted where evidence is limited.
Main entry points: data Waveform CSVs · B scan.py B-scan runner · Oscilloscope.py Oscilloscope capture · A scan.py A-scan runner
Components 20
Scan acquisition
- A-scan runner
Code/A scan.py - B-scan runner
Code/B scan.py - Device and scan settings
Code/Setup.py
Hardware control
- Motion commands
Code/rig_function.py - Motion stage
- Waveform generation
Code/Signal_function.py - Signal generator
- Oscilloscope capture
Code/Oscilloscope.py - Oscilloscope
Signal analysis
- B-mode cross-sections
Plot/b_mode.py - C-mode feature maps
Plot/c_mode.py - A-mode plots
Plot/plot_Amode_row_col.py - Filtered waveform plot
Plot/plotAmode_filtered.py - Waveform selection
Plot/select_wave.py - Time selection
Plot/selectedtime.py - Small signal view
Plot/selectsmall.py - Position waveform grid
Check/individual.py
Scan datasets
- Data directory setup
Code/const.py - Waveform CSVs
data
Other components
- Operator
Connections 24
- Operator → A-scan runner: runs
README.md - Operator → B-scan runner: runs
README.md - A-scan runner → Device and scan settings: loads settings
Code/A scan.py - A-scan runner → Motion commands: calls
Code/A scan.py - B-scan runner → Device and scan settings: loads settings
Code/B scan.py - B-scan runner → Motion commands: calls
Code/B scan.py - B-scan runner → Waveform generation: triggers bursts
Code/B scan.py - B-scan runner → Oscilloscope capture: acquires waveforms
Code/B scan.py - Motion commands → Motion stage: sends TCP commands
README.md - Waveform generation → Signal generator: configures and triggers
Code/Signal_function.py - Oscilloscope capture → Oscilloscope: reads waveform
Code/Oscilloscope.py - Oscilloscope capture → Waveform generation: can trigger burst
Code/Oscilloscope.py - Oscilloscope capture → Data directory setup: uses data directory
Code/Oscilloscope.py - Oscilloscope capture → Waveform CSVs: writes CSVs
Code/Oscilloscope.py - B-scan runner → Waveform CSVs: stores scan results
README.md - Waveform CSVs → B-mode cross-sections: reads waveforms
README.md - B-mode cross-sections → Device and scan settings: reads scan settings
Plot/b_mode.py - Waveform CSVs → C-mode feature maps: reads waveforms
README.md - Waveform CSVs → A-mode plots: plots waveforms
- Waveform CSVs → Filtered waveform plot: plots filtered data
- Waveform CSVs → Waveform selection: selects signals
- Waveform CSVs → Time selection: selects time range
- Waveform CSVs → Small signal view: views signals
- Waveform CSVs → Position waveform grid: reads CSVs
Check/individual.py