Skip to content

Commit

Permalink
docs: Fix math formatting for ERGAS equation (#2505)
Browse files Browse the repository at this point in the history
Co-authored-by: daniel.stancl <[email protected]>
  • Loading branch information
stancld and daniel.stancl authored Apr 15, 2024
1 parent f656e5a commit 581c444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torchmetrics/image/ergas.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ErrorRelativeGlobalDimensionlessSynthesis(Metric):
band of the result image. It is defined as:
.. math::
ERGAS = 100 * \frac{h}{l} \\sqrt{\frac{1}{N} \\sum_{k=1}^{N} \frac{RMSE(B_k)^2}{\\mu_k^2}}
ERGAS = 100 \cdot \frac{h}{l} \cdot \sqrt{\frac{1}{N} \sum_{k=1}^{N} \frac{RMSE(B_k)^2}{\mu_k^2}}
where :math:`h` and :math:`l` denote the spatial resolution (pixel size) of the high and low resolution images,
often shorted to the ratio between them :math:`r=h/l`. :math:`N` is the number of spectral bands, :math:`RMSE(B_k)`
Expand Down

0 comments on commit 581c444

Please sign in to comment.