in3Utils.fileHandlerUtilsΒΆ
Directory and file handling helper functions
Functions
Check which files are common between local and full ExpLog |
|
test if file exists if not throw error |
|
check if pathlib.PurePath if not convert to |
|
Export the simulation results from com1DFA output to desired location |
|
read log file and extract info on time, mass stop criterion |
|
Extract info about simulation parameters from the log file |
|
fetch paths to all desired flow fields within folder |
|
throw error if file not found with message and path |
|
Create parametersDict from ini file, for filtering simulations |
|
Check if a directory exists, if not create directory |
|
Create a dataFrame that contains all info on simulations |
|
Create a dataFrame that contains all info on simulations in output/comModule/peakFiles |
|
Read experiment log file and make dictionary that contains general info on all simulations |
|
read values in ini file and return numpy array or list if the items are strings; values can either be separated by | or provided in start:end:numberOfSteps format if separated by : or $ also optional add one additional value using & if format of refVal$percent$steps is used - an array is created with +- percent of refVal in nsteps |
|
read save time step info from ini file and return numpy array of values |