Skip to content

FEAT: Result visualization - #138

Open
mberz wants to merge 8 commits into
devfrom
feat/visualization/results_line_data
Open

FEAT: Result visualization#138
mberz wants to merge 8 commits into
devfrom
feat/visualization/results_line_data

Conversation

@mberz

@mberz mberz commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

  • Added a new API endpoint /simulations/<int:simulation_id>/visualization/<string:visualization_type> for retrieving visualization data, and registered the corresponding blueprint in app/blueprint.py.
  • Implemented the visualization_service module, which generates and saves plot-ready JSON files (e.g., impulse response, spectrum, energy decay curve) after a simulation completes, and provides a method to retrieve them for visualization.
  • Integrated the visualization data generation step into the simulation pipeline, so that visualization files are automatically created after a successful simulation run.
  • Defined the VisualizationLineData Marshmallow schema for structuring the API response
  • Added unit tests for the visualization service covering data generation, retrieval, and error handling, ensuring robustness of the new feature.
  • Updated dependencies: pydantic and pyrato, required for the visualization service.

related to

Remarks

@mberz mberz self-assigned this Aug 19, 2026
@mberz mberz added the enhancement New feature or request label Aug 19, 2026
@mberz mberz moved this from Backlog to Implementation in progress in CHORAS planning Aug 19, 2026
@mberz
mberz marked this pull request as draft August 19, 2026 09:06
@mberz
mberz marked this pull request as ready for review August 29, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Implementation in progress

Development

Successfully merging this pull request may close these issues.

1 participant