forked from gwpy/gwsumm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for gaps in segments causing unfilled pie chart plots (gwpy#392)
* Fix for gaps in segments causing unfilled pie chart plots * Updates to improve the PR and a bugfix - Better define whether running before, during, or after the span for SegmentPiePlot - suptitle of the plot is only over the full span if 'include_future' is provided, otherwise based on before, during, or after the span of interest - better handle undefined / unknown times - gwsumm.segments.get_segments() now has optional ignore_undefined argument by default False, but if True, as is used in NetworkDutyPiePlot, this prevents an undefined segment time from impacting the network segments - gwsumm.segments.get_segments() improved reading segments from global memory and taking intersection (this also fixes an incorrect code comment claiming incorrectly that the & operator is a union) - fix a bug that was using an iterating variable - some code cleanup, more documentation and comments * Minor comment update and fix percentage of no detector when not running future data --------- Co-authored-by: Evan Goetz <[email protected]>
- Loading branch information
Showing
2 changed files
with
124 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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