Skip to content

Commit 205f590

Browse files
committed
Setup format .md
1 parent a37042b commit 205f590

File tree

5 files changed

+195
-44
lines changed

5 files changed

+195
-44
lines changed

.mdformat.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
wrap = 89
22
number = true
33
end_of_line = "lf"
4+
5+
# Python 3.13+ only:
6+
# exclude = []

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,13 @@ achieved by using
6161
## Installation and setup
6262

6363
Fluidimage can be installed from
64-
[wheels and sdist available on PyPI](https://pypi.python.org/pypi/fluidimage/)
65-
with tools like pip, [UV], [PDM], ... or from conda-forge packages (for example
66-
available on https://prefix.dev/channels/conda-forge/packages/fluidimage) with
67-
tools like conda (installed with [Miniforge]) or [Pixi].
64+
[wheels and sdist available on PyPI](https://pypi.python.org/pypi/fluidimage/) with tools
65+
like pip, [UV] and [PDM]. Alternatively, it can be installed from conda-forge packages
66+
(for example available on https://prefix.dev/channels/conda-forge/packages/fluidimage)
67+
with tools like conda (installed with [Miniforge]) or [Pixi].
6868

69-
In some cases, Fluidimage will require that the environment variable
70-
`OMP_NUM_THREADS` is set to `1`. With a POSIX shell like Bash, it can be done with
71-
`export OMP_NUM_THREADS=1`.
69+
In some cases, Fluidimage will require that the environment variable `OMP_NUM_THREADS` is
70+
set to `1`. With a POSIX shell like Bash, it can be done with `export OMP_NUM_THREADS=1`.
7271

7372
For more details, see
7473
[the installation page in the documentation](https://fluidimage.readthedocs.io/en/latest/install.html).
@@ -93,12 +92,12 @@ journal = {Journal of Open Research Software}
9392
9493
```
9594

95+
[miniforge]: https://github.com/conda-forge/miniforge
9696
[openpiv]: http://www.openpiv.net/
97+
[pdm]: https://pdm-project.org
9798
[piv]: https://en.wikipedia.org/wiki/Particle_image_velocimetry
9899
[pivlab]: https://pivlab.blogspot.com/p/what-is-pivlab.html
99100
[pivmat]: http://www.fast.u-psud.fr/pivmat/
100-
[uvmat]: http://servforge.legi.grenoble-inp.fr/projects/soft-uvmat/wiki/UvmatHelp
101-
[miniforge]: https://github.com/conda-forge/miniforge
102101
[pixi]: https://pixi.sh
103-
[pdm]: https://pdm-project.org
104102
[uv]: https://docs.astral.sh/uv/
103+
[uvmat]: http://servforge.legi.grenoble-inp.fr/projects/soft-uvmat/wiki/UvmatHelp

doc/uvmat.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Loop on every grid points:
1818

1919
2.1: crop of subimages A and B of images A and B
2020

21-
subA is centered in \[xA, yA\] and has a size \[Lx, Ly\]
21+
subA is centered in `[xA, yA]` and has a size `[Lx, Ly]`
2222

23-
subB is centered in \[xA + shitfx, xB + shifty\] and has a size \[Sx, Sy\] with Sx,Sy >
24-
Lx, Ly
23+
subB is centered in `[xA + shitfx, xB + shifty]` and has a size `[Sx, Sy]` with `Sx,Sy > Lx,
24+
Ly`
2525

2626
2.2: if checkmask == 1 -> application of the mask on subimages
2727

@@ -35,19 +35,19 @@ conv = conv2(subA, subB, 'valid');
3535
% be careful on the ordering of subB
3636
```
3737

38-
2.4.2 search displacement \[dx, dy\] corresponding such that
38+
2.4.2 search displacement `[dx, dy]` corresponding such that
3939

4040
```matlab
4141
conv(dx, dy) == corrmax
4242
% corrmax = max( max( conv));
4343
```
4444

45-
2.5 subpixel determination of displacement: \[vec_x, vec_y\] = fct(conv, dx, dy)
45+
2.5 subpixel determination of displacement: `[vec_x, vec_y] = fct(conv, dx, dy)`
4646

4747
it exists 3 different fct depending on parameters: SUBPIXGAUSS, SUBPIX2DGAUSS and
4848
quadr_fit
4949

50-
2.6 if the position \[xA + vec_x, yA + vec_y\] is in the mask -> vec_x, vec_y is put to 0
50+
2.6 if the position `[xA + vec_x, yA + vec_y]` is in the mask -> vec_x, vec_y is put to 0
5151

5252
2.7 the maximum correlation is normalised
5353

0 commit comments

Comments
 (0)