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

SimTelEventSource using pyeventio #864

Merged
merged 38 commits into from
Dec 12, 2018

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Dec 7, 2018

As an alternative to pyhessio, we add this EventSource based on pyeventio

We have a tests that shows that for all events in gamma_test.simtel.gz and gamma_test_large.simtel.gz both deliver the same results.

@codecov
Copy link

codecov bot commented Dec 10, 2018

Codecov Report

Merging #864 into master will increase coverage by 0.44%.
The diff coverage is 98.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #864      +/-   ##
==========================================
+ Coverage   73.52%   73.97%   +0.44%     
==========================================
  Files         211      213       +2     
  Lines       12066    12286     +220     
==========================================
+ Hits         8871     9088     +217     
- Misses       3195     3198       +3
Impacted Files Coverage Δ
ctapipe/io/tests/test_hessio_event_source.py 100% <ø> (ø) ⬆️
ctapipe/io/eventseeker.py 96.59% <ø> (ø) ⬆️
ctapipe/io/eventsource.py 96.96% <ø> (-3.04%) ⬇️
ctapipe/flow/algorithms/simtelarray_reader.py 0% <0%> (ø) ⬆️
ctapipe/io/tests/test_serializer.py 100% <100%> (ø) ⬆️
ctapipe/plotting/tests/test_camera.py 100% <100%> (ø) ⬆️
ctapipe/io/tests/test_simtel_event_source.py 100% <100%> (ø)
ctapipe/io/__init__.py 100% <100%> (ø) ⬆️
ctapipe/io/hessioeventsource.py 93.27% <100%> (-2%) ⬇️
ctapipe/io/tests/test_simteleventsource.py 100% <100%> (ø)
... and 18 more

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 e715248...0cfe2b4. Read the comment docs.

@kbruegge
Copy link
Member

We decided to replace the pyhessio with pyeventio and simply replace it in the EventSource. this means we only have to change the code in the event source.

@maxnoe maxnoe merged commit fad39f0 into cta-observatory:master Dec 12, 2018
watsonjj added a commit to watsonjj/ctapipe that referenced this pull request Jan 7, 2019
* master: (22 commits)
  Remove all hillas_paramters but version 5, fixes cta-observatory#866  (cta-observatory#904)
  Fix docstring of EventSeeker, fixes cta-observatory#768 (cta-observatory#914)
  Do not set autodownload, fixes doc build (cta-observatory#910)
  Import bokeh.palletes correctly, fixes cta-observatory#911 (cta-observatory#912)
  Fix SST-1M to be DC and not SC. Solves cta-observatory#905 (cta-observatory#908)
  Fix a few test warnings (cta-observatory#902)
  Updates of NectarCam and LSTCam real data eventsource class (cta-observatory#812)
  Implemented FACT image cleaning (cta-observatory#862)
  remove `config=None, tool=None` in some tests (cta-observatory#897)
  Remove flow submodule (got moved to its own package) (cta-observatory#893)
  Cleaning the ctapipe folder. this has been empty for 3 years. (cta-observatory#892)
  Additional metadata from pyhessio, similar to cta-observatory#655 (cta-observatory#895)
  add scikit-learn to install_requires (cta-observatory#877)
  Add .mailmap (cta-observatory#894)
  Fix subarray peek. No more warnings. (cta-observatory#841)
  SimTelEventSource using pyeventio (cta-observatory#864)
  Use sparse neighbor matrix (cta-observatory#826)
  Add test how it should be (cta-observatory#842)
  fix errordef > 0. (cta-observatory#839)
  Fix warning about already closed hessio file (cta-observatory#834)
  ...

# Conflicts:
#	ctapipe/analysis/camera/chargeresolution.py
#	ctapipe/tools/extract_charge_resolution.py
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.

3 participants