find_in_path

ctapipe.utils.find_in_path(filename, searchpath, url=None)[source]

Search in searchpath for filename, returning full path.

Parameters
searchpath: str

colon-separated list of directories (like PATH)

filename:

filename to find

Returns
full path to file if found, None otherwise