adjust_outpath#

radiosim.utils.adjust_outpath(path, option, form='h5')[source]#

Add number to out path when filename already exists.

Parameters:
path: str

path to save directory

option: str

additional keyword to add to path

form: str

file extension

Returns:
out: str

adjusted path