Hi,
First you can use the option
BackgroundFieldMethod = True
to turn off all second order perturbations
Then if you want to get rid of scalar first order perturbations there are several ways of doing it.
The dirty way is to go directly into xPand.nb and look at the function 'SplitMetric'.
You should see where the Newton Gauge is defined in it. Just erase all occurences of scalars there.
Then
if you save the xPand.nb file, it should regenerate a xPand.m file (It
might be a Mathematica option to ensure this is the case)
and now scalars will not appear in the Newton gauge.
A
cleaner way is to avoid using the SplitMetric function which is hidden
in MyToxPand. This require to determine by yourself the splitting rule
for the metric perturbations.
In the example folder, you can
look at the 7th example. There you see that a custom rule for splitting
the metric perturbation is built in the variable
RulesProjectedComponents
which is then used after
SplitPerturbations[MyR, RulesProjectedComponents, h]
So
in your case, this would require to put only tensors in the
perturbations of your first order metric. That is your custom rule would
be like
RulesProjectedComponents = { dg[LI[n_], i1_, i2_], 2 Eth[LI[n], LI[0], i1, i2] }
Regards,
Cyril Pitrou