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 (release) and bottom (runout area) cfg[‘pathFromPart’] decides if the path is extended from particles dict or fields Call extendDFAPathKernel for extending the path avaProfile with x, y, z, s information

extendDFAPathKernel

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

weightedAvgAndStd

Return the weighted average and standard deviation.