NeighborPeakWindowSum¶
-
class
ctapipe.image.extractor.
NeighborPeakWindowSum
(**kwargs: Any)[source]¶ Bases:
ctapipe.image.extractor.ImageExtractor
Extractor which sums in a window about the peak defined by the wavefroms in neighboring pixels.
Attributes Summary
a
TelescopeParameter
with Bool trait typea
TelescopeParameter
with Int trait typea
TelescopeParameter
with Int trait typea
TelescopeParameter
with Int trait typeMethods Summary
__call__
(waveforms, tel_id, …)Call the relevant functions to fully extract the charge and time for the particular extractor.
Attributes Documentation
-
apply_integration_correction
¶ a
TelescopeParameter
with Bool trait type
-
local_weight
¶ a
TelescopeParameter
with Int trait type
-
window_shift
¶ a
TelescopeParameter
with Int trait type
-
window_width
¶ a
TelescopeParameter
with Int trait type
Methods Documentation
-
__call__
(waveforms, tel_id, selected_gain_channel, broken_pixels) → ctapipe.containers.DL1CameraContainer[source]¶ Call the relevant functions to fully extract the charge and time for the particular extractor.
- Parameters
- waveformsndarray
Waveforms stored in a numpy array of shape (n_pix, n_samples).
- tel_idint
The telescope id. Used to obtain to correct traitlet configuration and instrument properties
- selected_gain_channelndarray
The channel selected in the gain selection, per pixel. Required in some cases to calculate the correct correction for the charge extraction.
- Returns
- DL1CameraContainer:
extracted images and validity flags
-