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

Require atleast ctapipe_io_lst 0.18.2 #1003

Merged
merged 2 commits into from
Jul 6, 2022
Merged

Require atleast ctapipe_io_lst 0.18.2 #1003

merged 2 commits into from
Jul 6, 2022

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Jul 5, 2022

No description provided.

FrancaCassol
FrancaCassol previously approved these changes Jul 5, 2022
@maxnoe
Copy link
Member Author

maxnoe commented Jul 5, 2022

I had to add an option to r0_to_dl1 which I though already existed, to use trigger type TIB since the test run (2008) has occurences of UCTS trigger being 42 (STEREO BIT, SINGLE_PE Bit and PEDESTAL bit set).

After the update, this event was correctly labeled as UNKNOWN, but it was the only one previously tagged pedestal, so the test for the calculate noise parameters failed.

With default_trigger_type="tib", the one actual pedestal event in that file is found again and the test passes with a slight modification of the tested value.

Do we just not look at these old runs? What does osa do with runs like these where TIB would be the better choice?

@moralejo @morcuended

@codecov
Copy link

codecov bot commented Jul 5, 2022

Codecov Report

Merging #1003 (c639be0) into master (7b967de) will decrease coverage by 0.41%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1003      +/-   ##
==========================================
- Coverage   85.75%   85.34%   -0.42%     
==========================================
  Files          78       78              
  Lines        6619     6645      +26     
==========================================
- Hits         5676     5671       -5     
- Misses        943      974      +31     
Impacted Files Coverage Δ
lstchain/conftest.py 97.58% <ø> (ø)
lstchain/image/tests/test_modifier.py 100.00% <100.00%> (ø)
lstchain/scripts/tests/test_lstchain_scripts.py 99.64% <100.00%> (ø)
lstchain/calib/camera/calibration_calculator.py 51.72% <0.00%> (-41.38%) ⬇️
lstchain/calib/camera/flatfield.py 96.29% <0.00%> (ø)
lstchain/calib/camera/pedestals.py 95.69% <0.00%> (ø)
lstchain/tests/test_lstchain.py 97.00% <0.00%> (+0.03%) ⬆️
lstchain/reco/dl1_to_dl2.py 76.96% <0.00%> (+3.44%) ⬆️

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 7b967de...c639be0. Read the comment docs.

@morcuended
Copy link
Member

Do we just not look at these old runs? What does osa do with runs like these where TIB would be the better choice?

We have been using default_trigger_type="ucts" for all the data runs. We do not perform any check to choose between tib or ucts source of information.

@maxnoe
Copy link
Member Author

maxnoe commented Jul 6, 2022

Ok, for me this mainly means that we should include a more recent file in the test data sample that doesn't have all these now solved issues.

@maxnoe maxnoe requested a review from FrancaCassol July 6, 2022 11:23
@maxnoe maxnoe merged commit 0a4ceac into master Jul 6, 2022
@maxnoe maxnoe deleted the lstio_0.18.2 branch July 6, 2022 11:35
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