fit_muon

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

Fit the muon ring

Parameters:
imagenp.ndarray

Number of photoelectrons in each pixel

geomCameraGeometry

transformed into TelescopeFrame

tailcutslist

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