Binary data for MultiPie

Binary data for MultiPie#

Create binary_data for MultiPie (multipiegen/binary_data), in the layout of MultiPie’s multipie/binary_data.
  • info.pkl

  • {PG,SG,MPG,MSG}/{id}.pkl (one file for each group, “:” of the id replaced by “_”, e.g. PG/PG_32.pkl)

Needs the binaries in multipiegen/binary (info, group, harmonics, multipolar_harmonics, atomic_multipole_group, cluster_samb, response_tensor); run their create_binary modules first.

python -m multipiegen.create_binary.create_binary_data [–serial]

See multipiegen/util/util_binary_data.py.

save_binary_data(serial=False)[source]#

Create and save binary_data (info.pkl and the files of all groups) in multipiegen/binary_data.

Parameters:

serial (bool, optional) – run in a single process ?

Note

  • the subdirectories PG, SG, MPG, MSG are removed first, so that no file of an old group remains.