pg_utils.pg_model.core.map_pg_to_conjugate
- pg_utils.pg_model.core.map_pg_to_conjugate(pg_comp: CollectionPG, cg_comp: CollectionConjugate) dict [source]
Build a dictionary that maps PG quantities to their conjugates
- Parameters:
pg_comp (base.CollectionPG) – PG quantities collection each entry should be a symbol, or at least an expression
cg_comp (base.CollectionConjugate) – conjugate quantities collection each entry should be a symbol, or at least an expression
- Returns:
dict<PG quantity, expression in conjugate>