com1DFA.com1DFA.appendFieldsParticles

appendFieldsParticles(fieldsList, particlesList, particles, fields, resTypes)[source]

append fields and optionally particle dictionaries to list for export

Parameters
  • particles (dict) – dictionary with particle properties

  • fields (dict) – dictionary with all result type fields

  • resTypes (list) – list with all result types that shall be exported

Returns

  • Fields (list) – updated list with desired result type fields dictionary

  • Particles (list) – updated list with particles dicionaries