MuonRingFitter#

class ctapipe.image.MuonRingFitter(**kwargs: Any)[source]#

Bases: Component

Different ring fit algorithms for muon rings

Attributes Summary

fit_method

An enum of strings where the case should be ignored.

Methods Summary

__call__(geom, image, clean_mask)

Perform a circle fit to image with the chosen fit_method.

Attributes Documentation

fit_method#

An enum of strings where the case should be ignored.

Methods Documentation

__call__(geom, image, clean_mask)[source]#

Perform a circle fit to image with the chosen fit_method.

Parameters:
geom: CameraGeometry

Defines the pixel coordinates. Must be in the ctapipe.coordinates.TelescopeFrame

image: np.ndarray[np.float32]

Image intensity values

clean_mask: np.array([],dtype=bool)

Boolean mask of clean pixels, where True means the pixel contains signal. This can be generated using a ctapipe.image.ImageCleaner.

Returns:
MuonRingContainer:

Results of the ring fit.