DataBinning

class lstchain.io.event_selection.DataBinning(**kwargs: Any)

Bases: Component

Collects information on generating energy and angular bins for generating IRFs as per pyIRF requirements.

Attributes Summary

bkg_fov_offset_max

Maximum value for FoV offset bins for Background IRF

bkg_fov_offset_min

Minimum value for FoV offset bins for Background IRF

bkg_fov_offset_n_edges

Number of edges for FoV offset bins for Background IRF

energy_migration_max

Maximum value of Energy Migration matrix

energy_migration_min

Minimum value of Energy Migration matrix

energy_migration_n_bins

Number of bins in log scale for Energy Migration matrix

fov_offset_max

Maximum value for FoV offset bins

fov_offset_min

Minimum value for FoV Offset bins

fov_offset_n_edges

Number of edges for FoV offset bins

reco_energy_max

Maximum value for Reco Energy bins in TeV units

reco_energy_min

Minimum value for Reco Energy bins in TeV units

reco_energy_n_bins

Number of bins in log scale for Reco Energy

scale_true_energy

Scaling value for True energy

source_offset_max

Maximum value for Source offset for PSF IRF

source_offset_min

Minimum value for Source offset for PSF IRF

source_offset_n_edges

Number of edges for Source offset for PSF IRF

true_energy_max

Maximum value for True Energy bins in TeV units

true_energy_min

Minimum value for True Energy bins in TeV units

true_energy_n_bins

Number of bins in log scale for True Energy

Methods Summary

bkg_fov_offset_bins()

Creates bins for FoV offset for Background IRF, Using the same binning as in pyirf example.

energy_migration_bins()

Creates bins for energy migration in log scale using numpy.geomspace with energy_migration_n_bins + 1 edges.

fov_offset_bins()

Creates bins for single/multiple FoV offset.

reco_energy_bins()

Creates bins for reco energy in log scale using numpy.geomspace with reco_energy_n_bins + 1 edges.

source_offset_bins()

Creates bins for source offset for generating PSF IRF.

true_energy_bins()

Creates bins for true energy in log scale using numpy.geomspace with true_energy_n_bins + 1 edges.

Attributes Documentation

bkg_fov_offset_max

Maximum value for FoV offset bins for Background IRF

bkg_fov_offset_min

Minimum value for FoV offset bins for Background IRF

bkg_fov_offset_n_edges

Number of edges for FoV offset bins for Background IRF

energy_migration_max

Maximum value of Energy Migration matrix

energy_migration_min

Minimum value of Energy Migration matrix

energy_migration_n_bins

Number of bins in log scale for Energy Migration matrix

fov_offset_max

Maximum value for FoV offset bins

fov_offset_min

Minimum value for FoV Offset bins

fov_offset_n_edges

Number of edges for FoV offset bins

reco_energy_max

Maximum value for Reco Energy bins in TeV units

reco_energy_min

Minimum value for Reco Energy bins in TeV units

reco_energy_n_bins

Number of bins in log scale for Reco Energy

scale_true_energy

Scaling value for True energy

source_offset_max

Maximum value for Source offset for PSF IRF

source_offset_min

Minimum value for Source offset for PSF IRF

source_offset_n_edges

Number of edges for Source offset for PSF IRF

true_energy_max

Maximum value for True Energy bins in TeV units

true_energy_min

Minimum value for True Energy bins in TeV units

true_energy_n_bins

Number of bins in log scale for True Energy

Methods Documentation

bkg_fov_offset_bins()

Creates bins for FoV offset for Background IRF, Using the same binning as in pyirf example.

energy_migration_bins()

Creates bins for energy migration in log scale using numpy.geomspace with energy_migration_n_bins + 1 edges.

fov_offset_bins()

Creates bins for single/multiple FoV offset.

reco_energy_bins()

Creates bins for reco energy in log scale using numpy.geomspace with reco_energy_n_bins + 1 edges.

source_offset_bins()

Creates bins for source offset for generating PSF IRF. Using the same binning as in pyirf example.

true_energy_bins()

Creates bins for true energy in log scale using numpy.geomspace with true_energy_n_bins + 1 edges.