ana1Tests.energyLineTest.getAlphaProfileIntersection

getAlphaProfileIntersection(energyLineTestCfg, avaProfileMass, mu, csz)[source]

Extend the profile path and compute the intersection between the theoretical energy line and the path profile The profile is extended by a line. The line slope is computed from the slope of the regression on the last points of the profile

Parameters
  • energyLineTestCfg (configParser) – energy test config

  • avaProfileMass (dict) – particle mass average properties

  • mu (float) – friction coefficient

  • csz (float) – dem cell size

Returns

  • slopeExt (float) – slope of the extrapolation line

  • sIntersection (float) – s coord of the intersection between the line of slope mu and the mass average path profile

  • zIntersection (float) – z coord of the intersection between the line of slope mu and the mass average path profile

  • coefExt (float) – coefficient saying how long the path was extended to find the intersection