icecube_tools.detector.effective_area module

class icecube_tools.detector.effective_area.Braun2008AeffReader(filename)

Bases: IceCubeAeffReader

Reader for the Braun+2008 paper effective area Fig. 3, 140-150 deg. Braun, J. et al., 2008. Methods for point source analysis in high energy neutrino telescopes. Astroparticle Physics, 29(4), pp.299–305.

read()

To be defined.

class icecube_tools.detector.effective_area.EffectiveArea(filename, **kwargs)

Bases: object

IceCube effective area.

detection_probability(true_energy, true_cos_zenith, max_energy)

Give the relative detection probability for a given true energy and arrival direction.

classmethod from_dataset(dataset_id, period='IC86_II', fetch=True, **kwargs)

Build effective area from a public dataset.

If relevant, uses the latest effective area within a dataset. Some datasets have multiple effective areas.

Parameters
  • dataset_id – Date of dataset release e.g. 20181018

  • period – For 20210126, which period should be used. Defaults to IC86_II (most recent)

  • fetch – If true, download dataset if not existing

get_reader(**kwargs)

Define an IceCubeAeffReader based on the filename.

supported_datasets = ['20131121', '20150820', '20181018', '20210126']
class icecube_tools.detector.effective_area.IceCubeAeffReader(filename)

Bases: ABC

Abstract base class for a file reader to handle the different types of data files provided on the IceCube website.

abstract read()

To be defined.

class icecube_tools.detector.effective_area.R2013AeffReader(filename, **kwargs)

Bases: IceCubeAeffReader

Reader for the 2013 Nov 21 release. Link: https://icecube.wisc.edu/data-releases/2013/11/ search-for-contained-neutrino-events-at-energies-above -30-tev-in-2-years-of-data.

read()

To be defined.

class icecube_tools.detector.effective_area.R2015AeffReader(filename, **kwargs)

Bases: IceCubeAeffReader

Reader for the 2015 Aug 20 release. Link: https://icecube.wisc.edu/science/data/HE_NuMu_diffuse.

read()

Read input from the provided HDF5 file.

class icecube_tools.detector.effective_area.R2018AeffReader(filename, **kwargs)

Bases: IceCubeAeffReader

Reader for the 2018 Oct 18 release. Link: https://icecube.wisc.edu/science/data/PS-3years.

read()

To be defined.

class icecube_tools.detector.effective_area.R2021AeffReader(filename, **kwargs)

Bases: IceCubeAeffReader

Reader for the 2021 January 26 release. Link: https://icecube.wisc.edu/data-releases/2021/01/all-sky-point-source-icecube-data-years-2008-2018/

read()

To be defined.