We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b61f99 commit d3eed69Copy full SHA for d3eed69
dl1_data_handler/image_mapper.py
@@ -8,7 +8,7 @@
8
from collections import Counter, namedtuple
9
10
from ctapipe.instrument.camera import PixelShape
11
-from ctapipe.core import TelescopeComponent
+from ctapipe.core import Component
12
from ctapipe.core.traits import Bool, Int
13
14
__all__ = [
@@ -23,7 +23,7 @@
23
"SquareMapper",
24
]
25
26
-class ImageMapper(TelescopeComponent):
+class ImageMapper(Component):
27
"""
28
Base component for mapping raw 1D vectors into 2D mapped images.
29
@@ -86,6 +86,12 @@ def __init__(
86
this is mutually exclusive with passing ``config``
87
88
89
+ super().__init__(
90
+ config=config,
91
+ parent=parent,
92
+ **kwargs,
93
+ )
94
+
95
# Camera types
96
self.geometry = geometry
97
self.camera_type = self.geometry.name
0 commit comments