NullDataVolumeReducer

class ctapipe.image.NullDataVolumeReducer(**kwargs: Any)[source]

Bases: ctapipe.image.reducer.DataVolumeReducer

Perform no data volume reduction

Methods Summary

select_pixels(waveforms[, tel_id, …])

Abstract method to be defined by a DataVolumeReducer subclass.

Methods Documentation

select_pixels(waveforms, tel_id=None, selected_gain_channel=None)[source]

Abstract method to be defined by a DataVolumeReducer subclass. Call the relevant functions for the required pixel selection.

Parameters
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’.

Returns
mask: array

Mask of selected pixels.