helixmc.util.locate_data_file

helixmc.util.locate_data_file(data_file)

Search for the input data_file. Will look in either current folder or HelixMC data/.

Parameters:

data_file : string

Input numpy array.

Returns:

data_file_working : string

Actual path of the found data file.

Raises:

ValueError : if the input file does not exist.