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

Combine sample loops #1146

Merged
merged 5 commits into from
Nov 12, 2019
Merged

Conversation

watsonjj
Copy link
Contributor

sum_samples_around_peak and extract_pulse_around_peak perform similar operation and can be combined so there i only one loop over samples

…ample_loops

* remotes/upstream/master:
  Remove 3-dimension extractors (cta-observatory#1144)
  Add provenance.log to .gitignore (cta-observatory#1145)

# Conflicts:
#	ctapipe/image/extractor.py
kosack
kosack previously approved these changes Oct 23, 2019
@codecov
Copy link

codecov bot commented Oct 23, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@f350a04). Click here to learn what that means.
The diff coverage is 72.72%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1146   +/-   ##
=========================================
  Coverage          ?   85.89%           
=========================================
  Files             ?      182           
  Lines             ?    11365           
  Branches          ?        0           
=========================================
  Hits              ?     9762           
  Misses            ?     1603           
  Partials          ?        0
Impacted Files Coverage Δ
ctapipe/image/tests/test_extractor.py 100% <100%> (ø)
ctapipe/image/extractor.py 64.28% <40%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f350a04...b152dec. Read the comment docs.

…ample_loops

* remotes/upstream/master:
  Add comments to test
  Replaced test with generic waveform that goes from positive to negative in window
  Change test for test_extract_pulse_time_around_peak_with_negative to use the example_event
  Add condition to only include positive samples in weighting
  Create test for checking for extreme values from extract_pulse_time_around_peak

# Conflicts:
#	ctapipe/image/tests/test_extractor.py
@watsonjj watsonjj merged commit a658fc7 into cta-observatory:master Nov 12, 2019
@watsonjj watsonjj deleted the combine_sample_loops branch April 15, 2020 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants