com1DFA.com1DFA.addMaxValuesToDF
- addMaxValuesToDF(resultsDF, fields, timeStep, resTypes, rangeValue='')[source]
add max values of peakFields to dataframe and optionally rangeValue
- Parameters
fields (dict) – dict with all result type fields
resultsDF (dataframe) – data frame with on line for each time step and max and mean values of fields
timeStep (float) – computation time step
resTypes (list) – list of all resultTypes
rangeValue (float) – avalanche front location -optional
- Returns
resultsDF – updated data frame
- Return type
data frame