Skip to content

Commit 581c444

Browse files
stanclddaniel.stancl
and
daniel.stancl
authored
docs: Fix math formatting for ERGAS equation (#2505)
Co-authored-by: daniel.stancl <[email protected]>
1 parent f656e5a commit 581c444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchmetrics/image/ergas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ErrorRelativeGlobalDimensionlessSynthesis(Metric):
3535
band of the result image. It is defined as:
3636
3737
.. math::
38-
ERGAS = 100 * \frac{h}{l} \\sqrt{\frac{1}{N} \\sum_{k=1}^{N} \frac{RMSE(B_k)^2}{\\mu_k^2}}
38+
ERGAS = 100 \cdot \frac{h}{l} \cdot \sqrt{\frac{1}{N} \sum_{k=1}^{N} \frac{RMSE(B_k)^2}{\mu_k^2}}
3939
4040
where :math:`h` and :math:`l` denote the spatial resolution (pixel size) of the high and low resolution images,
4141
often shorted to the ratio between them :math:`r=h/l`. :math:`N` is the number of spectral bands, :math:`RMSE(B_k)`

0 commit comments

Comments
 (0)