apply_volume_reduction
- lstchain.reco.volume_reducer.apply_volume_reduction(event, subarray, config)
Checks the volume reduction algorithm defined in the config file, and if not None, it applies to a calibrated event the volume reduction method. Modifies the event container by applying the computed mask to the image, the waveform and the peak_time objects, as: image[~mask] = 0, …
- Parameters:
- event: ‘ctapipe.containers.ArrayEventContainer’
- config: dict
Read the parameters of the volume reduction method specified in the config file.