ring_containment
- lstchain.mc.sensitivity.ring_containment(angdist2, ring_radius, ring_halfwidth)
Calculate containment of cosmic ray particles with reconstructed positions within a ring of radius=ring_radius and half width=ring_halfwidth
- Parameters:
- angdist2: `numpy.ndarray` angular distance squared w.r.t.
the center of the camera
- ring_radius: `float` ring radius
- ring_halfwidth: `float` halfwidth of the ring
- Returns:
- contained: numpy.ndarray bool array
- area: angular area of the ring