Skip to content

Commit d9230cc

Browse files
committed
Switch n_tel_combinations to instance attribute
1 parent 9187dee commit d9230cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ctapipe/reco/stereo_combination.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ def __init__(self, *args, **kwargs):
450450
f"Combination of {self.property} not implemented in {self.__class__.__name__}"
451451
)
452452

453+
self.n_tel_combinations = 2
454+
453455
def _calculate_weights(self, data):
454456
if isinstance(data, Container):
455457
if self.weights == "intensity":

0 commit comments

Comments
 (0)