Skip to content

Commit

Permalink
Revert "Fixing core reconstruction" (#789)
Browse files Browse the repository at this point in the history
* Revert "better leakage parameter calculation (#783)"

This reverts commit 20c74be.

* Revert "Fixing core reconstruction (#777)"

This reverts commit 5d4cd37.
  • Loading branch information
kosack authored Sep 21, 2018
1 parent 20c74be commit 603d1ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ctapipe/reco/HillasReconstructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,7 @@ def estimate_core_position(self):
# circle.norm to the ground gives higher weight to planes
# perpendicular to the ground and less to those that have
# a steeper angle
norm = circle.norm.copy()
norm[1] = - norm[1]
A[i] = circle.weight * norm[:2]
A[i] = circle.weight * circle.norm[:2]
# since A[i] is used in the dot-product, no need to multiply the
# weight here
D[i] = np.dot(A[i], circle.pos[:2])
Expand Down

0 comments on commit 603d1ab

Please sign in to comment.