ana5Utils.DFAPathGeneration.extendProfileTop

extendProfileTop(extTopOption, particlesIni, profile)[source]

extend the DFA path at the top (release)

Either towards the highest point in particlesIni (extTopOption = 0) or the point leading to the longest runout (extTopOption = 1)

Parameters
  • extTopOption (int) – decide how to extend towards the top if 0, extrapolate towards the highest point in the release if 1, extrapolate towards the point leading to the lonest runout

  • particlesIni (dict) – initial particles dict

  • profile (dict) – profile to extend

Returns

profile – extended profile

Return type

dict