in3Utils.fileHandlerUtilsΒΆ

Directory and file handling helper functions

Functions

checkCommonSims

Check which files are common between local and full ExpLog

exportcom1DFAOrigOutput

Export the simulation results from com1DFA output to desired location

extractParameterInfo

Extract info about simulation parameters from the log file

getDFADataPaths

Determine the paths of the required data from comModule output for Aimec

getFilterDict

Create parametersDict for filtering simulations from ini file

makeADir

Create a directory and print warning if it already existed

makeSimDF

Create a dataFrame that contains all info on simulations

readLogFile

Read experiment log file and make dictionary that contains general info on all simulations

splitIniValueToArraySteps

read values in ini file and return numpy array of values or a list if the items are strings; values can either be separated by | or provided in start:end:numberOfSteps format

splitTimeValueToArrayInterval

read save time step info from ini file and return numpy array of values