Skip to content

Commit c171d6d

Browse files
committed
processing: rm "Compute" in docstrings
1 parent f359857 commit c171d6d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/stagpy/processing.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
def dtime(sdat: StagyyData) -> Tseries:
26-
"""Compute time increment.
26+
"""Time increment.
2727
2828
Compute dt as a function of time.
2929
@@ -40,7 +40,7 @@ def dtime(sdat: StagyyData) -> Tseries:
4040

4141

4242
def dt_dt(sdat: StagyyData) -> Tseries:
43-
"""Compute derivative of temperature.
43+
"""Time derivative of temperature.
4444
4545
Compute dT/dt as a function of time using an explicit Euler scheme.
4646
@@ -58,7 +58,7 @@ def dt_dt(sdat: StagyyData) -> Tseries:
5858

5959

6060
def ebalance(sdat: StagyyData) -> Tseries:
61-
"""Compute energy balance.
61+
"""Energy balance.
6262
6363
Compute Nu_t - Nu_b + V*dT/dt as a function of time using an explicit
6464
Euler scheme. This should be zero if energy is conserved.
@@ -85,7 +85,7 @@ def ebalance(sdat: StagyyData) -> Tseries:
8585

8686

8787
def mobility(sdat: StagyyData) -> Tseries:
88-
"""Compute plates mobility.
88+
"""Plates mobility.
8989
9090
Compute the ratio vsurf / vrms.
9191
@@ -106,7 +106,7 @@ def mobility(sdat: StagyyData) -> Tseries:
106106

107107

108108
def delta_r(step: Step) -> Rprof:
109-
"""Compute cell thicknesses.
109+
"""Cell thicknesses.
110110
111111
Args:
112112
step: a `Step` of a `StagyyData` instance.
@@ -130,7 +130,7 @@ def _scale_prof(step: Step, rprof: NDArray, rad: NDArray | None = None) -> NDArr
130130

131131

132132
def diff_prof(step: Step) -> Rprof:
133-
"""Compute diffusion flux.
133+
"""Diffusion flux.
134134
135135
Args:
136136
step: a `Step` of a `StagyyData` instance.
@@ -151,7 +151,7 @@ def diff_prof(step: Step) -> Rprof:
151151

152152

153153
def diffs_prof(step: Step) -> Rprof:
154-
"""Compute scaled diffusion flux.
154+
"""Scaled diffusion flux.
155155
156156
This computation takes sphericity into account if necessary.
157157
@@ -167,7 +167,7 @@ def diffs_prof(step: Step) -> Rprof:
167167

168168

169169
def advts_prof(step: Step) -> Rprof:
170-
"""Compute scaled advection flux.
170+
"""Scaled advection flux.
171171
172172
This computation takes sphericity into account if necessary.
173173
@@ -185,7 +185,7 @@ def advts_prof(step: Step) -> Rprof:
185185

186186

187187
def advds_prof(step: Step) -> Rprof:
188-
"""Compute scaled downward advection flux.
188+
"""Scaled downward advection flux.
189189
190190
This computation takes sphericity into account if necessary.
191191
@@ -203,7 +203,7 @@ def advds_prof(step: Step) -> Rprof:
203203

204204

205205
def advas_prof(step: Step) -> Rprof:
206-
"""Compute scaled upward advection flux.
206+
"""Scaled upward advection flux.
207207
208208
This computation takes sphericity into account if necessary.
209209
@@ -221,7 +221,7 @@ def advas_prof(step: Step) -> Rprof:
221221

222222

223223
def energy_prof(step: Step) -> Rprof:
224-
"""Compute total heat flux.
224+
"""Total heat flux.
225225
226226
This computation takes sphericity into account if necessary.
227227
@@ -241,7 +241,7 @@ def energy_prof(step: Step) -> Rprof:
241241

242242

243243
def stream_function(step: Step) -> Field:
244-
"""Compute the stream function in 2D geometry.
244+
"""Stream function in 2D geometry.
245245
246246
Args:
247247
step: a `Step` of a `StagyyData` instance.

0 commit comments

Comments
 (0)