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

Implement hillas features usen eigh #748

Merged
merged 6 commits into from
Jun 18, 2018

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented May 25, 2018

The values for length slightly disagree (2 %)

I think this version is much more readable then the 1-4 versions

@kosack
Copy link
Contributor

kosack commented May 31, 2018

I like it - it definitely is more readable.

@kosack
Copy link
Contributor

kosack commented May 31, 2018

Do you know why the length is a bit different? Rounding error? If so, you could just increase the threshold in the test. It's a bit strange, since length is such a low-order moment that it shouldn't be a problem

@maxnoe
Copy link
Member Author

maxnoe commented Jun 18, 2018

Do you know why the length is a bit different?

Yes, i think it is the question of sample variance vs. variance. So the question of 1/N vs 1/(N - 1). I kann set ddof=0, than it should be the same

@maxnoe
Copy link
Member Author

maxnoe commented Jun 18, 2018

Yes, with ddof=0 the results are the same as the other methods. However, with ddof=1 the results should be better for small showers.

@codecov
Copy link

codecov bot commented Jun 18, 2018

Codecov Report

Merging #748 into master will decrease coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #748      +/-   ##
==========================================
- Coverage   70.72%   70.61%   -0.12%     
==========================================
  Files         198      198              
  Lines       10669    10688      +19     
==========================================
+ Hits         7546     7547       +1     
- Misses       3123     3141      +18
Impacted Files Coverage Δ
ctapipe/image/hillas.py 97.61% <100%> (+0.22%) ⬆️
ctapipe/image/tests/test_hillas.py 100% <100%> (ø) ⬆️
ctapipe/tools/camdemo.py 58.97% <0%> (-23.08%) ⬇️

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 4a784e8...9143dbe. Read the comment docs.

@kosack kosack merged commit 4c6ece5 into cta-observatory:master Jun 18, 2018
@maxnoe maxnoe deleted the more_hillas branch June 18, 2018 16:06
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.

2 participants