Derivative of a Gram determinant under metric variation
Let $X$ be compact Hausdorff with its Borel measurable structure and a finite holomorphic atlas of complex dimension $D$. Let $L$ be a holomorphic line bundle given on this atlas, let $\phi_0,\phi_1$ be smooth real metric weights, and let $dV$ be a probability measure with smooth strictly positive densities in the charts. Put $\phi_t=\phi_0+t(\phi_1-\phi_0)$. Let $n\ge0$, let $V\subseteq H^0(X,L^{\otimes n})$ be finite-dimensional, and choose a basis $(e_a)$. In chart coordinates use $|s(x)|_t^2=|s_j(x)|^2e^{-n\phi_{t,j}(x)}$, and put $$G_{ab}(t)=\int_X e_{a,j}(x)\overline{e_{b,j}(x)}e^{-n\phi_{t,j}(x)}\,dV(x),$$ $$\chi(t)=-\tfrac12\log\operatorname{Re}\det G(t),\qquad B_t(x)=\sup_{s\in V}\frac{|s(x)|_t^2}{\int_X|s|_t^2\,dV},$$ with $0/0=0$. For every $t\in\mathbb R$, $$\chi'(t)=\frac n2\int_X(\phi_1-\phi_0)(x)B_t(x)\,dV(x).$$
The difference of the two local weights is a globally defined function, and local section coordinates are extended by zero outside their charts. No positivity condition on the curvature of the two metrics is assumed.