Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
905d9de
:Initial commit
Hckjs Dec 11, 2024
934bc64
Not working draft
Hckjs Dec 16, 2024
2548460
Adding eventwise stereo calculation
Hckjs Feb 21, 2025
49aa430
small typo
Hckjs Feb 21, 2025
330b6a8
Rename function name
Hckjs Feb 27, 2025
7563c60
Upgrade jited function
Hckjs Feb 27, 2025
071c7f5
Keep structure of Combiners
Hckjs Feb 28, 2025
7897217
Add unit test for single event
Hckjs Mar 10, 2025
4761a88
Working on table prediction
Hckjs Mar 12, 2025
18164f3
rewrite get_index_combs
Hckjs Mar 13, 2025
cc17e9b
Adding functions for tablewise prediction
Hckjs Mar 14, 2025
9a96917
Fix for single telescope events
Hckjs Mar 17, 2025
c848d26
Fix unit test
Hckjs Mar 17, 2025
0921d2a
Rename variable
Hckjs Mar 19, 2025
cef2029
Fix for single tel arrays
Hckjs Mar 26, 2025
f78c933
Implement njit version
Hckjs Mar 27, 2025
94bfdff
Add docstrings
Hckjs Apr 1, 2025
2682186
Some renamings
Hckjs Apr 2, 2025
f47f60b
Adding some unit tests
Hckjs Apr 4, 2025
8c2a4f5
Switching to np.argmin
Hckjs Apr 4, 2025
32f004c
Extend apply-tool hack to prefix for now
LukasBeiske May 18, 2025
ca9f8be
Add sign_score as weighting for minimum distance calculation
Hckjs Nov 5, 2025
4e051ac
Adapt unit test
Hckjs Nov 5, 2025
dafb9dd
Undo apply_models tool hack
Hckjs Nov 5, 2025
acf0606
generalize create_combs_array
Hckjs Nov 5, 2025
2925e94
Switch n_tel_combinations to instance attribute
Hckjs Nov 5, 2025
432d518
Fix small bug
Hckjs Nov 5, 2025
c2b36dc
Allow None for sign_score_limit
Hckjs Nov 25, 2025
e47ec9c
Remove property check in call and predict_table
Hckjs Nov 25, 2025
e7b830a
Add docstrings
Hckjs Nov 25, 2025
b279b22
Check that DispReconstructor was used
Hckjs Nov 25, 2025
8463270
Adapt get_combinations
Hckjs Nov 25, 2025
6a1ae44
fix calc_combs_min_distances unit tests
Hckjs Nov 25, 2025
b9bd580
Fix calc_fov_lon_lat unit test
Hckjs Nov 25, 2025
aa9d90b
Fix docstring citation
Hckjs Nov 26, 2025
2eab20c
Add changelog
Hckjs Nov 26, 2025
99385d3
Add combiner to reco __init__
Hckjs Nov 26, 2025
aad1f3c
Fix indentation in changelog
Hckjs Nov 26, 2025
f9443fe
disp to_value and precompute abs(disp)
Hckjs Dec 9, 2025
5d8739a
Add single tel events handling in event loop
Hckjs Dec 9, 2025
06eb912
Reduce cognitive complexity
Hckjs Dec 9, 2025
dcb580a
Add calc_weights function to parent class
Hckjs Dec 9, 2025
16c2d97
Switch to COPY_IF_NEEDED
Hckjs Dec 9, 2025
a6d0662
rename konrad weights
Hckjs Jan 29, 2026
9411b30
Add njit option to disable numba cache
Hckjs Jan 29, 2026
bfafbfc
Explicitly check for ImageParametersContainer in calc_weights
Hckjs Jan 29, 2026
e63de3a
Remove sign_score_limit and all its dependencies
Hckjs Jan 29, 2026
d76540b
Generalize algorithm to use configurable n_tel_combinations
Hckjs Jan 30, 2026
72dd44f
Add min_angle_diff for nearly parallel main shower axes
Hckjs Jan 30, 2026
cbc6425
Add n_best_tels option in table-wise processing
Hckjs Jan 31, 2026
f6a0507
add property trait with config=False
Hckjs Feb 1, 2026
90a0b1d
outsource check_ang_diff
Hckjs Feb 1, 2026
bf0a3bd
Update docstrings
Hckjs Feb 1, 2026
c723d84
Add StereoQualityQuery
Hckjs Feb 2, 2026
a814efe
Adapt disp container check
Hckjs Feb 2, 2026
2c5d96d
Update unit-tests
Hckjs Feb 3, 2026
867df56
Adapt trait test
Hckjs Feb 3, 2026
539e541
Update docstrings
Hckjs Feb 3, 2026
8a8506e
Fix empty table handling
Hckjs Feb 3, 2026
82b24e0
Handle empty tables in add_defaults_and_meta
Hckjs Feb 3, 2026
2d7ca6b
Refactoring
Hckjs Feb 3, 2026
0b9016c
Adress comments
Hckjs Feb 4, 2026
b5b4da3
Switch from take_along_axis to linear blend (bit faster)
Hckjs Feb 4, 2026
2ce1c49
Update changelog
Hckjs Feb 4, 2026
f207a66
Remove rebase artifact
LukasBeiske Aug 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/changes/2731.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Added a new ``StereoDispCombiner`` implementing DISP-based stereo direction
reconstruction.
The algorithm is adapted and generalized from the implementations in
*magic-cta-pipe* and *EventDisplay* and resolves the head–tail ambiguity by
evaluating all DISP sign combinations and combining multiple telescope
combinations via weighted means.

The reconstruction supports optional pre-selection of telescopes using
``n_best_tels`` and rejection of nearly parallel multiplicity-2 events via
``min_ang_diff``.
Only geometry reconstruction is supported.
2 changes: 1 addition & 1 deletion src/ctapipe/image/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def descriptive_statistics(
)


@njit
@njit(cache=not CTAPIPE_DISABLE_NUMBA_CACHE)
def n_largest(n, array):
"""return the n largest values of an array"""
return nlargest(n, array)
Expand Down
3 changes: 2 additions & 1 deletion src/ctapipe/reco/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
EnergyRegressor,
ParticleClassifier,
)
from .stereo_combination import StereoCombiner, StereoMeanCombiner
from .stereo_combination import StereoCombiner, StereoDispCombiner, StereoMeanCombiner

__all__ = [
"Reconstructor",
Expand All @@ -32,5 +32,6 @@
"DispReconstructor",
"StereoCombiner",
"StereoMeanCombiner",
"StereoDispCombiner",
"CrossValidator",
]
Loading
Loading