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

Support different frames for set_line_hillas #2131

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

StFroese
Copy link
Member

@StFroese StFroese commented Nov 23, 2022

Works now for other frames, e.g. EastingNorthing
Screenshot 2022-11-23 at 16 39 09

@codecov
Copy link

codecov bot commented Nov 23, 2022

Codecov Report

Base: 92.74% // Head: 92.74% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (8004264) compared to base (56fce14).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2131   +/-   ##
=======================================
  Coverage   92.74%   92.74%           
=======================================
  Files         214      214           
  Lines       17910    17914    +4     
=======================================
+ Hits        16611    16615    +4     
  Misses       1299     1299           
Impacted Files Coverage Δ
ctapipe/visualization/mpl_array.py 99.25% <100.00%> (+0.02%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@maxnoe maxnoe merged commit ed929d5 into cta-observatory:master Nov 23, 2022
@StFroese StFroese deleted the set_line_hillas branch November 23, 2022 16:09
@kosack
Copy link
Contributor

kosack commented Nov 23, 2022

Note that you seem to to have selected the LaPalma alpha telescope id list but applied it to the Paranal array, so that is why you have such a strange-looking array :-) You should use the Paranal-alpha list!

@kosack
Copy link
Contributor

kosack commented Nov 23, 2022

Also, I notice there is still a bug: the points for the line are not correctly transformed (the hillas centroids end up in the wrong place) (sorry didn't even see it until after it was merged!)

@StFroese
Copy link
Member Author

StFroese commented Nov 23, 2022

Oh you're right

@StFroese
Copy link
Member Author

Note that you seem to to have selected the LaPalma alpha telescope id list but applied it to the Paranal array, so that is why you have such a strange-looking array :-) You should use the Paranal-alpha list!

I didn't select anything (as far as I know). It's just the file:

source.subarray.info()
Subarray : Paranal-prod6_1-11,19,35
Num Tels : 13
Footprint: 0.59 km2

      Type       Count  Tel IDs  
---------------- ----- ----------
  LST_LST_LSTcam     4 1-4       
MST_MST_FlashCam     9 5-11,19,35

@StFroese StFroese mentioned this pull request Nov 23, 2022
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.

set_line_hillas should work in other frames
3 participants