ana3AIMEC.dfa2Aimec.getMassInfoInDF

getMassInfoInDF(avaDir, inputsDF, comMod, sim='', testName='')[source]

Fetch mass information depending on the computational module So far, a com1DFA style mass file is expected, either located in the benchmark directory or in the Outputs/comMod one

Parameters
  • avaDir (str) – path to avalanche directory

  • inputsDF (dataFrame) – simulation dataframe

  • comMod (str) – computational module name that has been used to produce simulation results

  • simName (str) – part or full name of the simulation name (if ‘’, look at all sims)

  • testName (str) – if the mass is fetched from benchmarks, provide the name of the test

Returns

inputsDF – simulation dataframe with path to mass file

Return type

dataFrame