Perform no data volume reduction
select_pixels(waveforms[, tel_id, …])
Abstract method to be defined by a DataVolumeReducer subclass.
select_pixels(waveforms, tel_id=None, selected_gain_channel=None)¶
Abstract method to be defined by a DataVolumeReducer subclass. Call the relevant functions for the required pixel selection.
- waveforms: ndarray
Waveforms stored in a numpy array of shape (n_pix, n_samples).
- tel_id: int
The telescope id. Required for the ‘image_extractor’ and ‘camera.geometry’ in ‘TailCutsDataVolumeReducer’.
- selected_gain_channel: ndarray
The channel selected in the gain selection, per pixel. Required for the ‘image_extractor’ in ‘TailCutsDataVolumeReducer’.
- mask: array
Mask of selected pixels.