pg_utils.eigen.apply_bg_to_eq

pg_utils.eigen.apply_bg_to_eq(fname: str, eq: Equality, bg_map: dict, mode: str = 'PG', verbose: int = 0) Equality[source]

Apply background field equation-wise

Parameters:
  • fname (str) – name of the field / equation

  • eq – a sympy equation

  • bg_map (dict) – background dictionary