MuonIntensityFitter#

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

Bases: TelescopeComponent

Fit muon ring images with a theoretical model to estimate optical efficiency.

Function for producing the expected image for a given set of trial muon parameters without using astropy units but expecting the input to be in the correct ones.

The image prediction function is currently modeled after [CCdNT13].

For more information, also see [GFM+19].

Attributes Summary

hole_radius_m

Hole radius of the reflector in m.

max_lambda_m

Minimum wavelength for Cherenkov light in m.

min_lambda_m

Minimum wavelength for Cherenkov light in m.

oversampling

Oversampling for the line integration.

spe_width

Width of a single photo electron distribution.

Methods Summary

__call__(tel_id, center_x, center_y, radius, ...)

Parameters:

Attributes Documentation

hole_radius_m#

Hole radius of the reflector in m.

max_lambda_m#

Minimum wavelength for Cherenkov light in m.

min_lambda_m#

Minimum wavelength for Cherenkov light in m.

oversampling#

Oversampling for the line integration.

spe_width#

Width of a single photo electron distribution.

Methods Documentation

__call__(tel_id, center_x, center_y, radius, image, pedestal, mask=None)[source]#
Parameters:
center_x: Angle quantity

Initial guess for muon ring center in telescope frame

center_y: Angle quantity

Initial guess for muon ring center in telescope frame

radius: Angle quantity

Radius of muon ring from circle fitting

pixel_x: ndarray

X position of pixels in image from circle fitting

pixel_y: ndarray

Y position of pixel in image from circle fitting

image: ndarray

Amplitude of image pixels

mask: ndarray

mask marking the pixels to be used in the likelihood fit

Returns:
MuonEfficiencyContainer