icecube_tools.point_source_likelihood.spatial_likelihood module

class icecube_tools.point_source_likelihood.spatial_likelihood.DataDrivenBackgroundSpatialLikelihood(period: str)

Bases: SpatialLikelihood

Class using data to calculate the background spatial likelihood, instead of using 1 / (4pi) as one would naively use

class icecube_tools.point_source_likelihood.spatial_likelihood.EnergyDependentSpatialGaussianLikelihood(angular_resolution_list, index_list)

Bases: SpatialLikelihood

Energy dependent spatial likelihood. Uses AngularResolution specified for given spectral indicies. For example in the 2015 data release angular resolution plots.

The atmospheric spectrum is approximated as a power law with a single spectral index.

get_low_res()

Representative lower resolution at fixed low energy and bg index.

To be used in PointSourceLikelihood.

class icecube_tools.point_source_likelihood.spatial_likelihood.EventDependentSpatialGaussianLikelihood(sigma=2)

Bases: SpatialLikelihood

class icecube_tools.point_source_likelihood.spatial_likelihood.SpatialGaussianLikelihood(angular_resolution)

Bases: SpatialLikelihood

Spatial part of the point source likelihood.

P(x_i | x_s) where x is the direction (unit_vector).

class icecube_tools.point_source_likelihood.spatial_likelihood.SpatialLikelihood

Bases: ABC

Abstract base class for spatial likelihoods