analyze_muon_event

lstchain.image.muon.muon_analysis.analyze_muon_event(subarray, tel_id, event_id, image, good_ring_config, plot_rings, plots_path)

Analyze an event to fit a muon ring

Parameters:
subarray: `ctapipe.instrument.subarray.SubarrayDescription`

Telescopes subarray

tel_idint

Id of the telescope used

event_idint

Id of the analyzed event

imagenp.ndarray

Number of photoelectrons in each pixel

good_ring_configdict or None

Set of parameters used to identify good muon rings to update LST-1 defaults

plot_ringsbool

Plot the muon ring

plots_pathstring

Path to store the figures

Returns:
muonintensityoutputMuonEfficiencyContainer
dist_maskndarray

Pixels used in ring intensity likelihood fit

ring_sizefloat

Total intensity in ring in photoelectrons

size_outside_ringfloat

Intensity outside the muon ring in photoelectrons to check for “shower contamination”

muonringparamMuonRingContainer
good_ringbool

It determines whether the ring can be used for analysis or not

radial_distributiondict

Return of function radial_light_distribution

mean_pixel_charge_around_ringfloat

Charge “just outside” ring, to check the possible signal extractor bias

muonparametersMuonParametersContainer