ana1Tests.rotationTest.mainRotationTest¶
- mainRotationTest(avalancheDir, energyLineTestCfg, com1DFACfg, dem, simDF, resTypeList, flagMass, refSimRowHash, comModule)[source]¶
This is the core function of the Rotation Test module
This module runs the energy line test and rotates the simulation results for the aimec analysis
- Parameters
avalancheDir (pathlib path) – path to avalanche directory
energyLineTestCfg (configParser) – energy line test configuration object
com1DFACfg (configParser) – com1DFA configuration object
dem (dict) – dem dictionary
simDF (dataFrame) – DFA simulation dataFrame
resTypeList (list) – list of result types available
flagMass (boolean) – should the aimec mass analysis be done
refSimRowHash (str) – row index of the reference simulation in the simDF
comModule (str) – computation module used for the DFA simulation
- Returns
simDF (dataFrame) – DFA simulation dataFrame updated with the energy line test results
flagMass (boolean) – should the aimec mass analysis be done (switched to true if it is an entrainment simulation)