BaselineSubtractedNeighborPeakWindowSum¶
-
class
ctapipe.image.BaselineSubtractedNeighborPeakWindowSum(**kwargs)[source]¶ Bases:
ctapipe.image.extractor.NeighborPeakWindowSumExtractor that first subtracts the baseline before summing in a window about the peak defined by the wavefroms in neighboring pixels.
Attributes Summary
An int trait.
An int trait.
Methods Summary
__call__(waveforms, telid, selected_gain_channel)Call the relevant functions to fully extract the charge and time for the particular extractor.
Attributes Documentation
-
baseline_end¶ An int trait.
-
baseline_start¶ An int trait.
Methods Documentation
-
__call__(waveforms, telid, selected_gain_channel)[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).
- telidint
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
- chargendarray
Charge extracted from the waveform in “waveform_units * ns” Shape: (n_pix)
- peak_timendarray
Floating point pulse time in each pixel in units “ns” Shape: (n_pix)
-