com1DFA.com1DFATools.extendProfileTop

extendProfileTop(cfg, dem, particlesIni, profile)[source]

extend the DFA path at the top

Find the direction in which to extend considering the first point of the profile and a few following ones (distFromFirt <= 30 * csz). Extend in this direction until the z of the highest particle in the release is reached.

Parameters
  • dem (dict) – dem dict

  • particlesIni (dict) – initial particles dict

  • profile (dict) – profile to extend

Returns

profile – extended profile

Return type

dict