Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag plotting and manipulation #22

Merged
merged 5 commits into from
Jul 10, 2019
Merged

Flag plotting and manipulation #22

merged 5 commits into from
Jul 10, 2019

Conversation

philbull
Copy link
Contributor

@philbull philbull commented Jul 9, 2019

This PR imports some of Shaunak's flagging work into hera_stats. It has been languishing in a PR against hera_pspec for quite a while, but is probably a better fit here. Features added include:

  • Function to plot multi-file waterfalls of flags and nsamples arrays
  • Function to stack arrays taken from multiple UVData objects together
  • Function to flag entire ranges of frequencies

@philbull philbull self-assigned this Jul 9, 2019
@coveralls
Copy link

coveralls commented Jul 9, 2019

Pull Request Test Coverage Report for Build 134

  • 281 of 300 (93.67%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 93.79%

Changes Missing Coverage Covered Lines Changed/Added Lines %
hera_stats/tests/test_utils.py 27 28 96.43%
hera_stats/utils.py 12 13 92.31%
hera_stats/tests/test_plots.py 36 38 94.74%
hera_stats/flag.py 78 81 96.3%
hera_stats/plots.py 53 65 81.54%
Totals Coverage Status
Change from base Build 108: -0.3%
Covered Lines: 1450
Relevant Lines: 1546

💛 - Coveralls

@philbull philbull merged commit 5323eff into master Jul 10, 2019
@philbull philbull deleted the flag_stats branch July 10, 2019 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants