NullDataVolumeReducer

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

Bases: ctapipe.image.reducer.DataVolumeReducer

Perform no data volume reduction

Methods Summary

select_pixels(waveforms[, telid, …])

Abstract method to be defined by a DataVolumeReducer subclass.

Methods Documentation

select_pixels(waveforms, telid=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).

telid: 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.