Skip to content

Commit

Permalink
Merge pull request #184 from BCDA-APS/183-bug-slow
Browse files Browse the repository at this point in the history
BUG: speed up GUI response times

@rodolakis Thanks!
  • Loading branch information
prjemian authored Nov 29, 2023
2 parents 88fc4b1 + 8e7d3a0 commit b12db35
Show file tree
Hide file tree
Showing 13 changed files with 640 additions and 785 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ cython_debug/

# local developer code
dev_*.py
dev_*/

# Qt (on Windows)
gemviz/resources/*.py
40 changes: 40 additions & 0 deletions gemviz/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# notes

Terse summary of responsibilities of the source modules.

- app
- parse command-line options
- setup logging
- starts GUI (MainWindow)
- MainWindow class
- creates tiled client connection
- passes client to BRC_MVC class
- populate QComboBox with available catalog names
- When catalog is selected from QComboBox, create BRC_MVC.
- BRC_MVC class
- (re)created each time catalog is chosen:
- set self.catalog
- remove previous QTableView
- create QTableView with default page offset and size
- each time filters are changed or catalog is updated:
- Set page offset from self.selected_uid (if not None)
- update QTableView with fcat_md (page of filtered catalog metadata)
- call SelectFieldsWidget when run is selected
- call ChartView when requested by SelectFieldsWidget
- BRCTableView class
- page through a filtered CatalogOfBlueskyRuns
- update BRCTableModel as page parameters or filtered catalog are changed
- BRCTableModel class
- display one page of runs in a table
- select a run for examination
- when run is selected, update self.selected_uid (emit a signal)
- SelectFieldsWidget class
- populate the table of plottable fields
- identify default data to plot (if any) and check the boxes
- request to plot data as directed by buttons
- ChartView class
- Determine dimensionality (and type of plot)
- Only plots 1-D line charts now.
- TODO: Expand to 2-D mesh and 2-D image views.

...
275 changes: 0 additions & 275 deletions gemviz/analyze_run.py

This file was deleted.

Loading

0 comments on commit b12db35

Please sign in to comment.