ana5Utils.DFAPathGeneration

Tools for generating an avalanche path from a DFA simulation

Functions

appendAverageStd

append averaged to path

extendDFAPath

extend the DFA path at the top and bottom avaProfile with x, y, z, s information

extendProfileBottom

extend the DFA path at the bottom (runout area)

extendProfileTop

extend the DFA path at the top (release)

generateAveragePath

extract path from fileds or particles

getDFAPathFromField

compute mass averaged path from fields

getDFAPathFromPart

compute mass averaged path from particles

getParabolicFit

fit a parabola on a set of (s, z) points

getSplitPoint

find the split point corresponding to an avalanche profile, with parabolic fit and the slopeSplitPoint

resamplePath

resample the path profile and keep track of indStartMassAverage and indEndMassAverage

saveSplitAndPath

Save avaPath and split point to directory

weightedAvgAndStd

Return the weighted average and standard deviation.