From 75819c3809726397620b09eff7dd0779ad2ee608 Mon Sep 17 00:00:00 2001
From: Cristian C Lalescu <Cristian.Lalescu@mpcdf.mpg.de>
Date: Tue, 8 Apr 2025 15:31:59 +0200
Subject: [PATCH] fixes docstrings

---
 TurTLE/DNS_statistics.py | 4 ++--
 TurTLE/PP.py             | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/TurTLE/DNS_statistics.py b/TurTLE/DNS_statistics.py
index d4a764f3..1c6c4d76 100644
--- a/TurTLE/DNS_statistics.py
+++ b/TurTLE/DNS_statistics.py
@@ -38,8 +38,8 @@ def compute_statistics(
 
     .. math::
 
-        \sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{u_i} \\hat{u_j}^*, \\hskip .5cm
-        \sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{\\omega_i} \\hat{\\omega_j}^*
+        \\sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{u_i} \\hat{u_j}^*, \\hskip .5cm
+        \\sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{\\omega_i} \\hat{\\omega_j}^*
 
     tensors, and the enstrophy spectrum is also used to
     compute the dissipation :math:`\\varepsilon(t)`.
diff --git a/TurTLE/PP.py b/TurTLE/PP.py
index 4ac50d35..cc890b2e 100644
--- a/TurTLE/PP.py
+++ b/TurTLE/PP.py
@@ -140,12 +140,12 @@ class PP(_code):
     def compute_statistics(self, iter0 = 0, iter1 = None):
         """Run basic postprocessing on raw data.
         The energy spectrum :math:`E(t, k)` and the enstrophy spectrum
-        :math:`\\frac{1}{2}\omega^2(t, k)` are computed from the
+        :math:`\\frac{1}{2}\\omega^2(t, k)` are computed from the
 
         .. math::
 
-            \sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{u_i} \\hat{u_j}^*, \\hskip .5cm
-            \sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{\omega_i} \\hat{\\omega_j}^*
+            \\sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{u_i} \\hat{u_j}^*, \\hskip .5cm
+            \\sum_{k \\leq \\|\\mathbf{k}\\| \\leq k+dk}\\hat{\omega_i} \\hat{\\omega_j}^*
 
         tensors, and the enstrophy spectrum is also used to
         compute the dissipation :math:`\\varepsilon(t)`.
@@ -216,7 +216,7 @@ class PP(_code):
         .. math::
 
             U_{\\textrm{int}}(t) = \\sqrt{\\frac{2E(t)}{3}}, \\hskip .5cm
-            L_{\\textrm{int}}(t) = \\frac{\pi}{2U_{int}^2(t)} \\int \\frac{dk}{k} E(t, k), \\hskip .5cm
+            L_{\\textrm{int}}(t) = \\frac{\\pi}{2U_{int}^2(t)} \\int \\frac{dk}{k} E(t, k), \\hskip .5cm
             T_{\\textrm{int}}(t) =
             \\frac{L_{\\textrm{int}}(t)}{U_{\\textrm{int}}(t)}
 
-- 
GitLab