Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!231
Fixes related to plot window
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixes related to plot window
plotwindowfixes
into
master
Overview
0
Commits
2
Pipelines
1
Changes
2
Merged
Oscar Gustafsson
requested to merge
plotwindowfixes
into
master
2 years ago
Overview
0
Commits
2
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Viewing commit
ec553c1b
Prev
Next
Show latest version
2 files
+
19
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
ec553c1b
Add plot window to documentation. Closes
#178
· ec553c1b
Oscar Gustafsson
authored
2 years ago
b_asic/gui_utils/plot_window.py
+
11
−
0
Options
@@ -197,6 +197,17 @@ class PlotWindow(QDialog):
@@ -197,6 +197,17 @@ class PlotWindow(QDialog):
def
start_simulation_dialog
(
def
start_simulation_dialog
(
sim_results
:
Dict
[
str
,
List
[
complex
]],
sfg_name
:
Optional
[
str
]
=
None
sim_results
:
Dict
[
str
,
List
[
complex
]],
sfg_name
:
Optional
[
str
]
=
None
):
):
"""
Display the simulation results window.
Parameters
----------
sim_results : dict
Simulation results of the form obtained from :attr:`~b_asic.simulation.Simulation.results`.
sfg_name : str, optional
DESCRIPTION. The default is None.
"""
app
=
QApplication
(
sys
.
argv
)
app
=
QApplication
(
sys
.
argv
)
win
=
PlotWindow
(
sim_result
=
sim_results
,
sfg_name
=
sfg_name
)
win
=
PlotWindow
(
sim_result
=
sim_results
,
sfg_name
=
sfg_name
)
win
.
exec_
()
win
.
exec_
()
Loading