How fishyishyfishy/pyrpoc works
pyrpoc is a desktop instrument-control workbench for configuring devices, running acquisition programs, and inspecting or saving their datasets. The principal workflow is: launch the application, select and configure a program and its devices, execute a run, publish frames into datasets, then view or save the results. The graph also preserves the plugin-based program/device model and the shared parameter and data contracts. Several subsystem details are represented by their source directories because their implementations were not sampled; edges are limited to documented wiring and SOURCE INDEX references.
Main entry points: application.py Application state · executor.py Run executor · program.py Program contract · programs Acquisition programs
Components 24
Application
- Application launch
pyrpoc/main.py - Application state
pyrpoc/app/application.py - Workbench window
pyrpoc/app/window.py
Acquisition
- Acquisition setup
pyrpoc/acquisition/model.py - Acquisition controls
pyrpoc/acquisition/panel.py - Run executor
pyrpoc/acquisition/executor.py
Programs and devices
- Device inventory
pyrpoc/device_inventory/inventory.py - Instrument drivers
pyrpoc/plugins/devices - Acquisition programs
pyrpoc/plugins/programs - Run-loop helpers
pyrpoc/plugins/programs/building_blocks/functions/run_loops.py - Galvo raster
pyrpoc/plugins/programs/building_blocks/functions/galvo_raster.py - Parameter blocks
pyrpoc/plugins/programs/building_blocks/parameter_groups - Data display plugins
pyrpoc/plugins/data_panels
Data library
- Library model
pyrpoc/data_library/model.py - Dataset store
pyrpoc/data_library/store.py - Data library view
pyrpoc/data_library/panel.py - Dataset frames
pyrpoc/structs/data_library/dataset.py - Recording writers
pyrpoc/structs/data_library/saving.py
Shared contracts
- Data kinds
pyrpoc/structs/data_library/data.py - Plugin registry
pyrpoc/structs/registry.py - Device contract
pyrpoc/structs/plugins/devices.py - Program contract
pyrpoc/structs/plugins/programs/program.py - Parameter model
pyrpoc/structs/plugins/params.py
Other components
- Workbench user
Connections 32
- Workbench user → Application launch: launches
README.md - Application launch → Application state: creates
pyrpoc/main.py - Application launch → Workbench window: opens
pyrpoc/main.py - Application state → Device inventory: creates
pyrpoc/app/application.py - Application state → Library model: creates
pyrpoc/app/application.py - Application state → Dataset store: creates
pyrpoc/app/application.py - Application state → Acquisition setup: creates
pyrpoc/app/application.py - Application state → Plugin registry: loads plugins
pyrpoc/app/application.py - Acquisition controls → Acquisition setup: edits
pyrpoc/acquisition/panel.py - Acquisition setup → Run executor: starts runs
- Run executor → Program contract: uses program API
pyrpoc/acquisition/executor.py - Run executor → Device contract: resolves devices
pyrpoc/acquisition/executor.py - Run executor → Dataset frames: creates outputs
pyrpoc/acquisition/executor.py - Run executor → Recording writers: configures recording
pyrpoc/acquisition/executor.py - Run executor → Dataset store: updates store
pyrpoc/acquisition/executor.py - Acquisition programs → Program contract: implements
pyrpoc/plugins/programs/confocal/program.py - Acquisition programs → Run-loop helpers: calls helpers
pyrpoc/plugins/programs/confocal/program.py - Acquisition programs → Parameter blocks: declares blocks
pyrpoc/plugins/programs/confocal/program.py - Acquisition programs → Galvo raster: calls raster
pyrpoc/plugins/programs/confocal/program.py - Run-loop helpers → Program contract: uses run context
pyrpoc/plugins/programs/building_blocks/functions/run_loops.py - Run-loop helpers → Parameter blocks: reads mosaic settings
pyrpoc/plugins/programs/building_blocks/functions/run_loops.py - Instrument drivers → Device contract: implements
pyrpoc/plugins/devices/__init__.py - Device inventory → Device contract: manages devices
pyrpoc/device_inventory/inventory.py - Library model → Dataset store: uses store
pyrpoc/app/application.py - Data library view → Library model: reads library
pyrpoc/data_library/panel.py - Data library view → Data display plugins: selects renderers
pyrpoc/data_library/panel.py - Dataset frames → Data kinds: validates frames
pyrpoc/structs/data_library/dataset.py - Dataset frames → Recording writers: writes frames
pyrpoc/structs/data_library/dataset.py - Program contract → Dataset frames: publishes outputs
pyrpoc/structs/plugins/programs/program.py - Program contract → Device contract: declares requirements
pyrpoc/structs/plugins/programs/program.py - Parameter model → Plugin registry: registers blocks
pyrpoc/structs/plugins/params.py - Data display plugins → Data kinds: renders data kinds