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