ExpandBackground

ExpandBackground[expr]
returns the first order perbutation expansion of expr on an arbitrary background.
ExpandBackground[expr, n]
returns the nth order perbutation expansion of expr on an arbitrary background.
  • The expansion parameter nor the the overall factor are not included in the result.
  • The following options can be given:
BackgroundSolution{}a list of replacement rules that send curvature tensors to their background values
ExtraRules{}a list of replacement rules for other tensors