kundu_chaudhuri_circle_fit#
- ctapipe.image.muon.kundu_chaudhuri_circle_fit(x, y, weights, nan_errors_flag=False)[source]#
Fast and reliable analytical circle fitting method.
Previously used in the H.E.S.S. experiment for muon identification. Implementation based on [CK93]
- Parameters:
- x: array-like or astropy quantity
x coordinates of the points
- y: array-like or astropy quantity
y coordinates of the points
- weights: array-like
weights of the points
- nan_errors_flag: bool
The flag defines whether errors are set to NaN.
- Returns:
- radiusastropy.units.Quantity
Fitted radius of the circle.
- center_xastropy.units.Quantity
Fitted x-coordinate of the circle center.
- center_yastropy.units.Quantity
Fitted y-coordinate of the circle center.
- radius_errastropy.units.Quantity
Fitted radius of the circle error.
- center_x_errastropy.units.Quantity
Fitted x-coordinate of the circle center error.
- center_y_errastropy.units.Quantity
Fitted y-coordinate of the circle center error.