Skip to content

Commit

Permalink
Removing unsed attribute self._interpolators from CunkInterpolator
Browse files Browse the repository at this point in the history
  • Loading branch information
mexanick committed Feb 6, 2025
1 parent 56afd67 commit a3cdcb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ctapipe/monitoring/interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ def __call__(self, tel_id: int, time: Time):
def add_table(self, tel_id: int, input_table: Table) -> None:
"""
Add a table to this interpolator.
This method reads input tables and creates instances of the needed interpolators
to be added to _interpolators. The first index of _interpolators needs to be
tel_id, the second needs to be the name of the parameter that is to be interpolated.
This method reads input tables and creates instances of the needed interpolators.
The first index of _interpolators needs to be tel_id, the second needs to be
the name of the parameter that is to be interpolated.
Parameters
----------
Expand Down Expand Up @@ -223,7 +224,6 @@ class ChunkInterpolator(MonitoringInterpolator):

def __init__(self, h5file: None | tables.File = None, **kwargs: Any) -> None:
super().__init__(**kwargs)
self._interpolators = {}
self.start_time = {}
self.end_time = {}
self.values = {}
Expand Down

0 comments on commit a3cdcb9

Please sign in to comment.