lib.Qutilities module
- lib.Qutilities.find_file(filename, verbosity=1)[source]
find the full path to the file given the filename It could be a dictionary, or a data, or calibration file.
We look first of all for the name, as given, which could be an absolute path We then look in the current working directory
We also look in directories that have been defined in BASH environment variables
Finally, we look in the package directory for dictionary, or data (including calfiles)
we return the path name of the file that was found Otherwise we print a “not found” error, and return None