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

Improve data scripts output and update analysis default settings #165

Merged
merged 32 commits into from
Feb 16, 2022

Conversation

HealthyPear
Copy link
Member

@HealthyPear HealthyPear commented Sep 29, 2021

Requirements

List of changes

  • added metadata (Add tables attributes #162)
  • record number of reconstructed telescope images per telescope type
  • PEP8 formatting
  • code style improvements
  • support for Prod5 Paranal Alpha subarray with NectarCam
  • fixed gammapy==0.18.2, pyirf ==0.5.0, pandas >=1.0.0
  • compatible with Python3 upgrade of the grid interface (see Upgrade to python 3 HealthyPear/protopipe-grid-interface#50)
  • started to update documentation (will make final PR)
  • remove model diagnostics script and API will migrate from mva to benchmarks

- Extract the number of reconstructed images per telescope type
- record pixels number in a better way
- allow for peak-time and waveform shifts
- improve wavelets import error
- remove stale code
- record number of reconstructed images per telescope type
- record true direction and array pointing
- add metadata
- add number of reconstructed images per telescope type
- add metadata
- fix default output values and some formatting
@HealthyPear HealthyPear added enhancement New feature or request input / output new features or issues regarding input and output formats testing labels Sep 29, 2021
@codecov
Copy link

codecov bot commented Sep 29, 2021

Codecov Report

Merging #165 (1142c09) into master (3c9a692) will increase coverage by 7.61%.
The diff coverage is 85.98%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
+ Coverage   66.65%   74.26%   +7.61%     
==========================================
  Files          24       22       -2     
  Lines        2600     2320     -280     
==========================================
- Hits         1733     1723      -10     
+ Misses        867      597     -270     
Impacted Files Coverage Δ
protopipe/mva/__init__.py 100.00% <ø> (ø)
protopipe/scripts/__init__.py 100.00% <ø> (ø)
protopipe/pipeline/event_preparer.py 63.96% <69.04%> (-1.07%) ⬇️
protopipe/pipeline/temp.py 86.90% <75.00%> (-2.65%) ⬇️
protopipe/pipeline/io.py 56.36% <80.00%> (+9.09%) ⬆️
protopipe/scripts/make_performance_EventDisplay.py 91.66% <81.81%> (-3.67%) ⬇️
protopipe/pipeline/utils.py 46.80% <85.71%> (+0.46%) ⬆️
protopipe/perf/utils.py 59.42% <90.90%> (+1.84%) ⬆️
protopipe/scripts/write_dl2.py 80.76% <94.28%> (+0.09%) ⬆️
protopipe/__init__.py 100.00% <100.00%> (ø)
... and 9 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 3c9a692...1142c09. Read the comment docs.

Remove stale code and apply some PEP8 formatting
Remove unused imports from pywi-cta and import warning, now dealt with when initializing EventPreparer
@HealthyPear HealthyPear linked an issue Jan 28, 2022 that may be closed by this pull request
2 tasks
@HealthyPear HealthyPear added this to the v0.5.0 milestone Feb 1, 2022
- better handling of missing pywi(-cta)
- get cameras' radii from ctapipe
- added SST_ASTRI_CHEC
- PEP8 formatting
- I/O refactoring
- camera radii from ctapipe
- CLI improvements
- added support for Prod5b Paranal with NectarCam
- PEP8 formatting
- I/O refactoring
- PEP8 formatting
- improve configuration
- PEP8 formatting
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@HealthyPear HealthyPear marked this pull request as ready for review February 14, 2022 18:43
@HealthyPear HealthyPear removed a link to an issue Feb 15, 2022
2 tasks
@HealthyPear HealthyPear mentioned this pull request Feb 15, 2022
2 tasks
@HealthyPear HealthyPear requested review from kosack and removed request for kosack February 16, 2022 15:46
@HealthyPear HealthyPear merged commit 079374f into master Feb 16, 2022
@HealthyPear HealthyPear deleted the feature-improve_data_scripts_output branch February 16, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request input / output new features or issues regarding input and output formats testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants