Coset binary#

Create coset.pkl (cosets of each real PG and SG in its parents). Needs group.pkl and cluster_samb.pkl.

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

See multipiegen/util/util_coset.py and multipiegen/util/util_cluster_samb_image.py.

coset_data(gid, transport=None)[source]#

Coset data of a group.

Parameters:
  • gid (str) – group id (“PG:n” of a real PG, or “SG:n”).

  • transport (dict, optional) – cluster_samb_transport of the group ({“site”, “bond”}), for “inversion”.

Returns:

  • (dict) – {“parent”, “coset”, “first”}, None for a group without a parent.

create_coset_all(serial=False, verbose=True)[source]#

Create coset data of all real PG and SG (BinaryManager).

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

  • verbose (bool, optional) – verbose ?

Returns:

{“parent”, “coset”, “first”}}.

Return type:

  • (BinaryManager) – {PG_id/SG_id

save_coset(serial=False)[source]#

Create and save coset.pkl in multipiegen/binary.

Parameters:

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