com1DFA.com1DFA.savePartToPickle

savePartToPickle(dictList, outDir, logName)[source]

Save each dictionary from a list to a pickle in outDir; works also for one dictionary instead of list Note: particle coordinates are still in com1DFA reference system with origin 0,0

Parameters
  • dictList (list or dict) – list of dictionaries or single dictionary

  • outDir (str) – path to output directory

  • logName (str) – simulation Id