update to support interactive flagging (setting weights to zero) - #44
Open
rvweeren wants to merge 7 commits into
Open
update to support interactive flagging (setting weights to zero)#44rvweeren wants to merge 7 commits into
rvweeren wants to merge 7 commits into
Conversation
update to support flagging (by changing the weights in the h5) and various other improvements
Added grid_pending_regions dictionary to manage pending selections for grid plots. Updated button labels for navigation and modified region selection logic to accommodate grid plotting.
Added overwrite option for input HDF5 file handling and adjusted layout for checkboxes.
Grey out enable/disable direction buttons in case only 1 direction is present. Improve height-width dimensions when h5plot opens.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes to
h5plotThis document summarizes the changes in to
h5plotfor this pull request (version 3.0.0)Plotting modes
rows * columns) while keeping the NxM layout open.waterfall.NxM grid rendering
Region marking and flagging
HDF5 flag persistence and shared state
<input>_flagged.h5copy on the first flagging operation, leaving the original source file read-only.SoltabCacheweights in the same operation.Cache and rendering changes
GraphWindowandGraphWindow2Dto use the shared cache owned byH5PlotGUIwhen available.GUI and interaction changes
Compatibility and validation
Existing single-station time/frequency plots, waterfall plots, phase handling, polarization differences, direction selection, global limits, and weight plotting remain in the same application.
The local file compiles successfully with:
No full automated GUI interaction test has been added. Runtime behavior still depends on the PyQt5, Matplotlib, LoSoTo, and HDF5 environment provided by the container.
Direction state consistency
Direction navigation is local to each plotting window.
GraphWindow2Dkeeps the selected direction label in its ownself.directionand derives the corresponding integer index when reading cached data. It no longer overwritesH5PlotGUI.direction, so navigating one plot window cannot silently change the direction used by the main GUI or another plot window. Previous-direction navigation also wraps explicitly to the last direction.