Skip to content

Commit f77857d

Browse files
authored
Merge pull request #119 from uit-cosmo/docstring_format
Docstring format
2 parents bc566cc + d8b1ef5 commit f77857d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

blobmodel/blobs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Blob:
1414
the function `discretize_blob`. The contribution of a single blob to a grid defined by `x`, `y` and `t` is given by:
1515
1616
.. math::
17-
a e^{-(t-t_k)/\tau_\shortparallel}\varphi\left( \frac{x-v(t-t_k)}{\ell_x}, \frac{(y-y_k)-w(t-t_k)}{\ell_y} \right)
17+
a e^{-(t-t_k)/\\tau_\\shortparallel}\\varphi\\left( \\frac{x-v(t-t_k)}{\ell_x}, \\frac{(y-y_k)-w(t-t_k)}{\ell_y} \\right)
1818
1919
Where:
2020
- :math:`a` is the blob amplitude, `amplitude`.
@@ -23,8 +23,8 @@ class Blob:
2323
- :math:`v` is the horizontal blob velocity.
2424
- :math:`w` is the vertical blob velocity.
2525
- :math:`t_k` is the blob arriving time at the position x=0, `t_init`.
26-
- :math:`\tau_\shortparallel` is the drainage time, `t_drain`.
27-
- :math:`\varphi` is the blob pulse shape, `blob_shape`.
26+
- :math:`\\tau_\\shortparallel` is the drainage time, `t_drain`.
27+
- :math:`\\varphi` is the blob pulse shape, `blob_shape`.
2828
2929
Additionally, a tilt angle can be provided through `theta`.
3030
"""

0 commit comments

Comments
 (0)