ctapipe is not stable yet, so expect large and rapid changes to structure and functionality as we explore various design choices before the 1.0 release.

get_dataset_path#

ctapipe.utils.get_dataset_path(filename, url=None)[source]#

Returns the full file path to an auxiliary dataset needed by ctapipe, given the dataset’s full name (filename with no directory).

This will first search for the file in directories listed in the environment variable CTAPIPE_SVC_PATH (if set), and if not found, will look in the ctapipe_resources module (if installed with the ctapipe-extra package), which contains the defaults.

Parameters:
filename: str

name of dataset to fetch

Returns:
string with full path to the given dataset