skyllh.datasets.i3 package
Submodules
skyllh.datasets.i3.PublicData_10y_ps module
- skyllh.datasets.i3.PublicData_10y_ps.create_dataset_collection(cfg, base_path=None, sub_path_fmt=None)
Defines the dataset collection for IceCube’s 10-year point-source public data, which is available at http://icecube.wisc.edu/data-releases/20210126_PS-IC40-IC86_VII.zip
- Parameters:
cfg (instance of Config) – The instance of Config holding the local configuration.
base_path (str | None) – The base path of the data files. The actual path of a data file is assumed to be of the structure <base_path>/<sub_path>/<file_name>. If None, use the default path
cfg['repository']['base_path']
.sub_path_fmt (str | None) – The sub path format of the data files of the public data sample. If None, use the default sub path format ‘icecube_10year_ps’.
- Returns:
dsc (DatasetCollection) – The dataset collection containing all the seasons as individual I3Dataset objects.
skyllh.datasets.i3.PublicData_10y_ps_wMC module
- skyllh.datasets.i3.PublicData_10y_ps_wMC.create_dataset_collection(cfg, base_path=None, sub_path_fmt=None)
Defines the dataset collection for IceCube’s 10-year point-source public data, which is available at http://icecube.wisc.edu/data-releases/20210126_PS-IC40-IC86_VII.zip, and adds monte-carlo files.
- Parameters:
cfg (instance of Config) – The instance of Config holding the local configuration.
base_path (str | None) – The base path of the data files. The actual path of a data file is assumed to be of the structure <base_path>/<sub_path>/<file_name>. If None, use the default path
cfg['repository']['base_path']
.sub_path_fmt (str | None) – The sub path format of the data files of the public data sample. If None, use the default sub path format ‘icecube_10year_ps’.
- Returns:
dsc (DatasetCollection) – The dataset collection containing all the seasons as individual I3Dataset objects.
skyllh.datasets.i3.TestData module
- skyllh.datasets.i3.TestData.create_dataset_collection(cfg, base_path=None, sub_path_fmt=None)
Defines a dataset collection with a test dataset.
- Parameters:
cfg (instance of Config) – The instance of Config holding the local configuration.
base_path (str | None) – The base path of the data files. The actual path of a data file is assumed to be of the structure <base_path>/<sub_path>/<file_name>. If None, use the default path
cfg['repository']['base_path']
.sub_path_fmt (str | None) – The sub path format of the data files of the public data sample. If None, use the default sub path format ‘testdata’.
- Returns:
dsc (DatasetCollection) – The dataset collection containing all the seasons as individual I3Dataset objects.