fit_muon

lstchain.image.muon.muon_analysis.fit_muon(x, y, image, geom, tailcuts=None)

Fit the muon ring

Parameters:
x, yfloats

Coordinates in the TelescopeFrame

imagenp.ndarray

Number of photoelectrons in each pixel

geomCameraGeometry
tailcuts :`list`

Tail cuts for image cleaning. Default is None, such that the tailcuts are calculated for each image. If tailcuts are an input, those indicated will be used.

Returns:
muonringparam
clean_mask: np.ndarray

Mask after cleaning

dist: np.ndarray

Distance of every pixel to the center of the muon ring

image_clean: np.ndarray

Image after cleaning