Skip to content

Commit

Permalink
removing merge marks
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Toennis committed Oct 1, 2024
1 parent 40c3968 commit cea1f21
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/ctapipe/calib/camera/calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
Definition of the `CameraCalibrator` class, providing all steps needed to apply
calibration and image extraction, as well as supporting algorithms.
"""
<<<<<<< HEAD

=======
>>>>>>> c5f385f0 (I added a basic star fitter)
from functools import cache

import astropy.units as u
Expand All @@ -23,9 +19,9 @@
from ctapipe.image.invalid_pixels import InvalidPixelHandler
from ctapipe.image.reducer import DataVolumeReducer


__all__ = ["CameraCalibrator"]


@cache
def _get_pixel_index(n_pixels):
"""Cached version of ``np.arange(n_pixels)``"""
Expand All @@ -50,6 +46,7 @@ def _get_invalid_pixels(n_channels, n_pixels, pixel_status, selected_gain_channe

return broken_pixels


class CameraCalibrator(TelescopeComponent):
"""
Calibrator to handle the full camera calibration chain, in order to fill
Expand Down

0 comments on commit cea1f21

Please sign in to comment.