RadialEventWeighter#
- class ctapipe.irf.RadialEventWeighter(*args: t.Any, **kwargs: t.Any)[source]#
Bases:
EventWeighter,DefaultFoVOffsetBinsWeights in radial (FOV) offset bins in the
NominalFrame.This should only be used for diffuse signal (gamma) events where you want to weight them to a point-source spectrum in radial offset bins.
Calling this class adds a column to the output table with the event-wise spectral-spatial weights, with column name
weight_column. This implementation additionally adds the columnoutput_table["fov_offset_bin"]andoutput_table["fov_offset_is_valid"]following the conventions ofpyirf.binning.calculate_bin_indices, and the list of offset bin edges inoutput_table.meta["OFFSBINS"]Attributes Summary
name of FOV radial offset column
Attributes Documentation
- fov_offset_column#
name of FOV radial offset column