Skip to content

Commit

Permalink
Fix docstring issues
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Jan 25, 2022
1 parent 76fcda6 commit fee7ba2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ctapipe/image/muon/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def ring_containment(radius, center_x, center_y, camera_radius):
radius of the camera
Returns
------
-------
ringcontainment: float
the ratio of ring inside the camera
"""
Expand Down
2 changes: 1 addition & 1 deletion ctapipe/reco/hillas_reconstructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __init__(self, p1, p2, telescope_position, weight=1):
to the camera.
Parameters
-----------
----------
p1: astropy.coordinates.SkyCoord
One of two direction vectors which define the plane.
This coordinate has to be defined in the ctapipe.coordinates.AltAz
Expand Down
8 changes: 0 additions & 8 deletions ctapipe/reco/impact.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,6 @@ def get_hillas_mean(self):
in an event which will be used later in the Xmax calculation. Peak is
found by taking the average position of the n hottest pixels in the
image.
Parameters
----------
Returns
-------
None
"""
peak_x = np.zeros([len(self.pixel_x)]) # Create blank arrays for peaks
# rather than a dict (faster)
Expand Down

0 comments on commit fee7ba2

Please sign in to comment.