ManualGainSelector¶
-
class
ctapipe.calib.camera.gainselection.
ManualGainSelector
(**kwargs: Any)[source]¶ Bases:
ctapipe.calib.camera.gainselection.GainSelector
Manually choose a gain channel.
Attributes Summary
Which gain channel to retain
Methods Summary
select_channel
(waveforms)Abstract method to be defined by a GainSelector subclass.
Attributes Documentation
-
channel
¶ Which gain channel to retain
Methods Documentation
-
select_channel
(waveforms)[source]¶ Abstract method to be defined by a GainSelector subclass.
Call the relevant functions to decide on the gain channel used for each pixel.
- Parameters
- waveformsndarray
Waveforms stored in a numpy array of shape (n_chan, n_pix, n_samples).
- Returns
- selected_gain_channelndarray
Gain channel to use for each pixel Shape: n_pix Dtype: int8
-