ana5Utils.DFAPathGeneration.appendAverageStd

appendAverageStd(propList, avaProfile, particles, weights, naming='')[source]

append averaged to path

Parameters
  • propList (list) – list of properties to average and append

  • avaProfile (dict) – path

  • particles (dict) – particles dict

  • weights (numpy array) – array of weights (same size as particles)

  • naming (list) – optional - list of properties at source (if different than final naming in avaProfile)

Returns

avaProfile – averaged profile

Return type

dict