-
Notifications
You must be signed in to change notification settings - Fork 269
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
Update ImPACT code to work again #2305
Merged
Merged
Changes from all commits
Commits
Show all changes
144 commits
Select commit
Hold shift + click to select a range
793179e
ImPACT updates to better match CTA standards
ParsonsRD 57b0446
ImPACT updates to better match CTA standards
ParsonsRD 7ce4efe
Pedestals now behave like an array rather than float
ParsonsRD 359c81d
Updates to work with the newest CTA behaviours. Also improved testing…
ParsonsRD fbf810f
Updated to allow interpolation of templates in zenith and azimuth
ParsonsRD 7895ed5
Moved some unrealted functions to the utilities file
ParsonsRD c68c80f
Fixed spe in likelihood to be array like
ParsonsRD ff58f23
Updates to work with multiple zenith angles
ParsonsRD 22bf62e
Updated fit limits
ParsonsRD 7eca0be
Removed function call from test
ParsonsRD 5659993
Minor fixes
ParsonsRD 4638d42
test fixes
ParsonsRD 6e8f0db
Minor ImPACT updates
ParsonsRD 4e67985
Merge branch 'master' into ImPACT_tests
ParsonsRD bd87702
Significant changes to ImPACT reconstructor, due to testing against H…
ParsonsRD 2b801e5
Updates to ImPACT code to use standard reconstruction method
ParsonsRD deb7ec8
Minor ImPACT bug fix
ParsonsRD 4f51ec8
Merge branch 'master' into ImPACT_tests
ParsonsRD b4c8a7b
Modifications for ctapipe v11
ParsonsRD 8fdffd5
ImPACT test fix
ParsonsRD e8b0a53
Update to event reconstruction interface
ParsonsRD 7f5b8be
Merge branch 'ImPACT_tests' of https://github.com/ParsonsRD/ctapipe i…
ParsonsRD 7131aad
significant code optimisations
ParsonsRD ac09a42
Remove scaling
ParsonsRD 664413f
Merge branch 'ImPACT_tests' of https://github.com/ParsonsRD/ctapipe i…
ParsonsRD f51e60b
Performance improvements
ParsonsRD ce823ae
Reverted changes to likelihood classs which broke the results
ParsonsRD 77015e8
Change back likelihood function names
ParsonsRD 2c73c03
Speed up to imterpolator
ParsonsRD 727b737
Added goodness of fit calculation
ParsonsRD 82f3a2e
Added comments
ParsonsRD 7c9c646
Including timing information in the fit
ParsonsRD 24ef2e1
Added reset of time prediction code
ParsonsRD 7f36f22
Made updates to minimisation procedure to decrease computation time
ParsonsRD 52c3306
Merge branch 'master' of https://github.com/cta-observatory/ctapipe i…
ParsonsRD bf88048
Merged hillas_intersection to master branch
ParsonsRD ccc1e3b
Fixed error in core reconstruction
ParsonsRD 9329e16
Removed unused functions from impact_utilities
ParsonsRD 2a24376
Updated impact to work with shower_processor
ParsonsRD 5c62604
Updates to time gradient likelihood terms.
ParsonsRD 9b23de7
Fixed bug in core intersection position
ParsonsRD b67d68c
Fixes to binning issue in interpolator
ParsonsRD 5b0ba8a
Improved tests for ImPACT code
ParsonsRD c62bbd1
Removed unused functions
ParsonsRD 61ca2e7
Change test bin numbers
ParsonsRD f0186a2
Preminimisation fixes
ParsonsRD 95ca4d3
Fix to file opening
ParsonsRD df9ded4
Added template directory trait
ParsonsRD 96e956a
Added improved ImPACT tests
ParsonsRD 5242525
Added ImPACT container for likelihood output
ParsonsRD ac988e2
Changes to pixel likelihood function to work better with ImPACT
ParsonsRD 8c2b262
Merge branch 'master' of https://github.com/cta-observatory/ctapipe i…
ParsonsRD 9fefc85
Fix merge errors
ParsonsRD 8e0fd9b
Fix more merge errors
ParsonsRD 4c60c2a
Merge error
ParsonsRD 9fa0944
Merge fix
ParsonsRD 324f34c
Removed print statement
ParsonsRD 6b81b19
Fix merge errors
ParsonsRD 1a6562d
Readded telescope info
ParsonsRD 97e5d4b
Fixed fomatting errors
ParsonsRD 7b4bd58
Removed unused import statement
ParsonsRD 9050454
Fix unstructured interpolator tests
ParsonsRD 76c672e
Ran "black" on everything
ParsonsRD 3d38054
Merge branch 'ImPACT' into ImPACT_tests
Tobychev 5cb5ddc
Merge pull request #1 from ParsonsRD/ImPACT_tests
Tobychev b5f58bd
Fixes to imports and attempts to get shower_processor trought the tes…
Tobychev 91065a7
Pulled in latest version of shower reconstruction from main
Tobychev 5807d1e
Working on support for multiple recos
Tobychev a36b4cc
Working on support for multiple recos
Tobychev 8b6a27c
Working on support for multiple recos
Tobychev 4ba9b45
Fixed typo
Tobychev f4fff5b
Fixed failing tests due to new names
Tobychev eaa9fd4
Merge branch 'ManyRecos' into ImPACT
Tobychev 85eed5f
Add property flags to ImPACT reconstructor
Tobychev 24fede0
Merge Rename
Tobychev 61e1a86
Changed to subclassing from HillasGeometryReconstructor
Tobychev 9a6ad8a
Disable the skip of the tests along with some small fixes of imports
Tobychev 502fb48
Passes all tests, but requires disabling deprecation of old atmospher…
Tobychev 7e35c91
Modified test so that asser for finite results only happens on valid …
Tobychev cbb2995
Don't remove depreciation, instread tell pytest it is expected
Tobychev fd7d330
Ran black and removed unused import I'd forgotten to take out
Tobychev 43bd6b7
Undo foolish edits to the test
Tobychev 75c5804
Update call to follow the interface expected of reconstructors, renam…
Tobychev 711e004
Updated ImPACT tests to match new reconstructor interface, cleaned up…
Tobychev e338d42
restructured parametrisation to handle (temporarily) expected ImPACT …
Tobychev c1d6769
Added impact reco to the test
Tobychev 31e87a9
Renamed vertices to simplices to comply with scipy depreciation
Tobychev dd5262c
First implementation of energy seed
gschwefer 19e7538
Add saving the impact parameters when reco works
gschwefer 31867bb
Add short changelog
Tobychev ba3c0fe
Ran linters and formatters
Tobychev c645c05
Moved catching of atmosphere depreciation warning to tests
Tobychev 7ddf09f
Was double catching warning, removed it from testing
Tobychev 564d9c0
Fixed jitting not working in test due to incorrectly giving translati…
Tobychev 5624ea6
Rebased on main
Tobychev 53c6d3e
Sorted imports
0e37495
Sort imports
271ac9d
Fix muon code for changed API of pixel likelihoods
maxnoe dd9c1a4
Adjust number of tested events so the test pass
Tobychev dedce82
Remove energy preminimization, require energy seed
gschwefer b0ef014
Removed preminimization args from minimize func
gschwefer 1a2d862
Remove final occurence of preminimisation
gschwefer dd912f0
A couple of comments
gschwefer 3fe353a
Made array height variable from subarray
gschwefer a330a82
Fixed numeric logL to match approx, all vectorized
gschwefer 5f698ea
Fixed datatypes and sign for mean calculation
gschwefer b0453bc
Tests vectorized and passing
gschwefer 0256ab5
Changed docstring
gschwefer 67de2d3
Added unit test for mean approx. likelihood
gschwefer 494a5e0
factor 2 because of change in likelihood & flake8
gschwefer 880e334
Fixed mask in combined pixel likelihood
gschwefer f82395d
Consistent naming of xmax and column density
gschwefer d726353
Rename min to minimizer and remove assign to self
gschwefer d5746fb
Moved miunuit settings to global constants
gschwefer d7bad12
Migrad iterate now global variable
gschwefer 7da9f90
Removed unnecessary ImPACTLikelihoodContainer
gschwefer 3638f63
Goodness of fit now also from reconstructed energy
gschwefer 1d6e18f
Adjustments for time likelihood
gschwefer 156d941
Add SST-Camera to ped_table
gschwefer 0ce2180
Remove offset dependence from TemplateInterpolator
gschwefer d9172ba
Guard against neg. uncertainties in time templates
gschwefer 3843173
Merge remote-tracking branch 'origin/main' into ImPACT
gschwefer 6a9379e
Removed unused import
gschwefer 2b05ec1
Impact tests passing now
gschwefer 22c40f2
Pixel likelihood tests passing now
gschwefer 3120f08
ran black and isort
gschwefer 7b321ab
isort again
gschwefer 552ec1f
isort again again
gschwefer 4740ebc
Linting
Tobychev 61ff14d
Update 2305.feature.rst
Tobychev 919cee9
Merge branch 'main' into ImPACT
gschwefer 1e138fa
Merge branch 'ImPACT' of https://github.com/Tobychev/ctapipe into ImPACT
gschwefer 8018e00
Fix linting in changelog file
gschwefer a291cea
Implement proper atmosphere module in impact code
gschwefer 22fde37
Change reconstructor API to include atmosphere
gschwefer b789dc0
Update atmosphere in ImPACT tests
gschwefer 7bfed1e
Include atmopshere_profile in ShowerProcessor
gschwefer cb3bde6
Make atmoprofile optional arg for ShowerProcessor
gschwefer 243f641
Add atmo to ShowerProcessor init in process tool
gschwefer 5d35794
Use effective focal length
gschwefer 19ae78a
Don't use template remember function
gschwefer 9daf9dc
Workaround for numba not supporting masked arrays
maxnoe 51f5fc9
Simplify
maxnoe 84e075e
Fix test: make pixel coordinates a masked array
gschwefer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Large updates to the Image Pixel-wise fit for Atmospheric Cherenkov Telescopes reconstruction method (https://doi.org/10.48550/arXiv.1403.2993) | ||
|
||
* ImPACT - General code clean up and optimisation. Now updated to work similarly to other reconstructors using the standardised interface, such that it can be used ctapipe-process. Significant improvements to tests too | ||
* ImPACT_utilities - Created new file to hold general usage functions, numba used in some areas for speedup | ||
* template_network_interpolator - Now works with templates with different zenith and azimuth angles | ||
* unstructured_interpolator - Significant speed improvements | ||
* pixel_likelihood - Constants added back to neg_log_likelihood_approx, these are quite important to obtaining a well normalised goodness of fit. | ||
* hillas_intersection - Fixed bug in core position being incorrectly calculated, fixed tests too | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a sentence about
atmosphere_profile
now being an argument toReconstructor()
?