Datasets:
Rebuild as SoftwareX reproducibility capsule
Browse filesPer-case ready-to-run configs derived from the published run snapshots, split per-pipeline for planar_noisy and experimental (instantaneous: ssmin/time-free split; every ensemble config runs on raw images). Three-tier README: plot-only from reference_results, full CLI reprocess, calibration re-derivation, plus a pivtools-bench performance section. reference_results refreshed to the published runs (figure scripts regenerate the paper figures byte-identically). Calibration models + settings sidecars shipped under calibration/{planar,stereo,experimental} with corrected planar dt (0.0057553 s). Minimal hot-wire extract hotwire/hwa.mat replaces the Hutchins-corrected file. scripts/ reduced to the three paper scripts; analysis tooling moved to python-PIVTOOLs manual_tools; generation/SIG configs removed (kept in git history). Stereo image folders renamed camera{1,2} -> Cam{1,2} to match the pivtools loader convention; stale masks and in-case board sets removed.
- .gitattributes +0 -0
- README.md +263 -163
- calibration/experimental/calibration/Cam1/scale_factor_planar/model/model_scale_factor.mat +3 -0
- calibration/experimental/calibration/settings.yaml +58 -0
- calibration/planar/calibration/Cam1/charuco_planar/model/inputs.mat +3 -0
- calibration/planar/calibration/Cam1/charuco_planar/model/model_pinhole.mat +3 -0
- calibration/planar/calibration/settings.yaml +58 -0
- calibration/stereo/calibration/settings.yaml +58 -0
- calibration/stereo/calibration/stereo_cam1_cam2/model/inputs.mat +3 -0
- calibration/stereo/calibration/stereo_cam1_cam2/model/stereo_model_pinhole.mat +3 -0
- calibration/stereo/ground_truth.npz +3 -0
- configs/experimental_ensemble.yaml +234 -0
- configs/experimental_instantaneous.yaml +186 -0
- configs/planar_clean.yaml +236 -0
- configs/planar_noisy_ensemble.yaml +242 -0
- configs/planar_noisy_instantaneous.yaml +180 -0
- configs/pypiv.log +0 -0
- configs/stereo_clean.yaml +176 -0
- configs/stereo_noisy.yaml +178 -0
- hotwire/hwa.mat +3 -0
- planar_clean/mask_Cam1.mat +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_01.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_02.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_03.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_04.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_05.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_06.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_07.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_08.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_09.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_10.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_11.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_12.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_13.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_14.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_15.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_16.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_17.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_18.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_19.tif +0 -0
- planar_noisy/calibration_boards/planar_calibration_plate_20.tif +0 -0
- reference_results/experimental/coordinates.mat +3 -0
- reference_results/experimental/ensemble_result.mat +3 -0
- reference_results/experimental/mean_stats.mat +3 -0
- reference_results/planar_clean/coordinates.mat +3 -0
- reference_results/planar_clean/ensemble_result.mat +3 -0
- reference_results/planar_clean/mean_stats.mat +3 -0
- reference_results/planar_noisy/coordinates.mat +3 -0
- reference_results/planar_noisy/ensemble_result.mat +3 -0
- reference_results/planar_noisy/mean_stats.mat +3 -0
|
The diff for this file is too large to render.
See raw diff
|
|
|
|
@@ -11,6 +11,7 @@ tags:
|
|
| 11 |
- validation
|
| 12 |
- benchmark
|
| 13 |
- synthetic-data
|
|
|
|
| 14 |
pretty_name: PIVtools Turbulent Channel Validation Dataset
|
| 15 |
size_categories:
|
| 16 |
- 10K<n<100K
|
|
@@ -18,218 +19,315 @@ size_categories:
|
|
| 18 |
|
| 19 |
# PIVtools Turbulent Channel Validation Dataset
|
| 20 |
|
| 21 |
-
|
|
|
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
|
| 26 |
-
- **Case B (noisy)**: 22 000 particles per image (≈ 1.3 ppw), Gaussian sensor noise (mean 80, std 16, SNR ≈ 8). Realistic experimental conditions.
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
# 1. Install pivtools (C extensions are pre-built in the PyPI wheel)
|
| 36 |
-
pip install pivtools
|
| 37 |
-
|
| 38 |
-
# 2. Download this dataset
|
| 39 |
-
hf download MTT69/TurbulentChannel --repo-type dataset --local-dir ./tc
|
| 40 |
-
|
| 41 |
-
# 3. Process the planar noisy images (ensemble PIV — example)
|
| 42 |
-
pivtools-cli init --output ./work/config.yaml
|
| 43 |
-
# edit config.yaml to point sources at ./tc/planar_noisy
|
| 44 |
-
pivtools-cli ensemble --config ./work/config.yaml
|
| 45 |
-
|
| 46 |
-
# 4. Benchmark against DNS (use ground_truth/clean for Case A, ground_truth/noisy for Case B)
|
| 47 |
-
python ./tc/scripts/benchmark_comparison.py \
|
| 48 |
-
--mode ensemble \
|
| 49 |
-
--gt-dir ./tc/ground_truth/noisy \
|
| 50 |
-
--ensemble-dir ./work/calibrated_piv/4000/Cam1/ensemble \
|
| 51 |
-
--num-frames 4000 \
|
| 52 |
-
--output-dir ./work/validation
|
| 53 |
-
```
|
| 54 |
|
| 55 |
## Contents
|
| 56 |
|
| 57 |
```
|
| 58 |
MTT69/TurbulentChannel/
|
| 59 |
-
├── README.md
|
| 60 |
-
├── LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
├── ground_truth/
|
| 62 |
-
│ ├── clean/direct_stats.mat
|
| 63 |
-
│ └── noisy/direct_stats.mat
|
| 64 |
-
├──
|
| 65 |
-
│ └──
|
| 66 |
-
├──
|
| 67 |
-
│ ├──
|
| 68 |
-
│ └──
|
| 69 |
-
│
|
| 70 |
-
|
| 71 |
-
│
|
| 72 |
-
│
|
| 73 |
-
│
|
| 74 |
-
|
| 75 |
-
├──
|
| 76 |
-
│ ├──
|
| 77 |
-
│ ├──
|
| 78 |
-
│ ├──
|
| 79 |
-
│
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
| 84 |
└── scripts/
|
| 85 |
-
├──
|
| 86 |
-
├──
|
| 87 |
-
|
| 88 |
-
├── paper_figures.py Combined clean + noisy paper figures
|
| 89 |
-
├── tcf_direct_stats.py Recompute ground truth from JHTDB particles
|
| 90 |
-
└── sig_configs/ EUROSIG configuration files (.cdl)
|
| 91 |
```
|
| 92 |
|
| 93 |
-
|
| 94 |
|
| 95 |
-
|
| 96 |
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
-
|
| 114 |
-
|
| 115 |
|
| 116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
|
| 118 |
-
|
| 119 |
-
|-----|-------|-------------|
|
| 120 |
-
| `y_plus` | (N,) | wall-normal coordinate, wall units |
|
| 121 |
-
| `U_plus` | (N, 3) | mean velocity [U, V, W] in wall units |
|
| 122 |
-
| `stress_plus` | (N, 3, 3) | Reynolds stress tensor in wall units |
|
| 123 |
-
| `stress_ci_lo`, `stress_ci_hi` | (N, 3, 3) | 95% confidence interval |
|
| 124 |
-
| `umean_ci_lo`, `umean_ci_hi` | (N, 3) | 95% CI for mean velocity |
|
| 125 |
-
| `u_tau` | scalar | friction velocity (mm/s) |
|
| 126 |
-
| `delta_nu` | scalar | viscous length scale (mm) |
|
| 127 |
-
| `Re_tau` | scalar | friction Reynolds number |
|
| 128 |
|
| 129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
|
| 131 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
-
|
| 134 |
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
| `SIGconf_Stereo_cam2_noisy_A.cdl`, `..._B.cdl` | Stereo cam 2, frames A and B |
|
| 141 |
-
| `sigconf_planar.cdl`, `SIGconf_Stereo_cam{1,2}.cdl` | Case A planar + stereo (85k particles, no noise) |
|
| 142 |
|
| 143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
-
|
|
|
|
|
|
|
|
|
|
| 146 |
|
| 147 |
-
##
|
| 148 |
|
| 149 |
-
|
|
|
|
|
|
|
| 150 |
|
| 151 |
```bash
|
| 152 |
-
|
| 153 |
-
--
|
| 154 |
-
--
|
| 155 |
-
--ensemble-dir <path/to/your/ensemble_result_directory> \
|
| 156 |
-
--num-frames 4000 \
|
| 157 |
-
--output-dir ./out
|
| 158 |
```
|
| 159 |
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
| `--gt-dir` / `-g` | Directory containing `direct_stats.mat` — e.g. `./ground_truth/noisy` or `./ground_truth/clean` (required) |
|
| 166 |
-
| `--base-dir` / `-b` | PIV results base (instantaneous mode) |
|
| 167 |
-
| `--ensemble-dir` / `-e` | Direct path to ensemble result directory |
|
| 168 |
-
| `--num-frames` / `-n` | Frame count subdirectory (default 1000; use 4000 for this dataset) |
|
| 169 |
-
| `--output-dir` / `-o` | Output directory |
|
| 170 |
-
| `--y-plus-offset` / `-y` | Additional y+ offset on top of hardcoded +1 |
|
| 171 |
-
| `--show-fit-lines` | Overlay log-law and viscous sublayer curves |
|
| 172 |
|
| 173 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
|
| 175 |
-
|
|
|
|
|
|
|
| 176 |
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
--output-dir ./out
|
| 183 |
-
```
|
| 184 |
|
| 185 |
-
##
|
| 186 |
|
| 187 |
-
|
|
|
|
| 188 |
|
| 189 |
```bash
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
--
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
|
|
|
| 196 |
```
|
| 197 |
|
| 198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
-
|
| 203 |
-
# Case B only (what this dataset ships today)
|
| 204 |
-
python scripts/paper_figures.py \
|
| 205 |
-
--gt-noisy-dir ./ground_truth \
|
| 206 |
-
--inst-noisy-stats <path/to/noisy/instantaneous/mean_stats.mat> \
|
| 207 |
-
--ens-noisy-dir <path/to/noisy/ensemble_dir> \
|
| 208 |
-
--stereo-noisy-stats <path/to/noisy/stereo/mean_stats.mat> \
|
| 209 |
-
--output-dir ./out
|
| 210 |
-
```
|
| 211 |
|
| 212 |
-
|
|
|
|
| 213 |
|
| 214 |
-
|
|
|
|
| 215 |
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 221 |
|
| 222 |
-
##
|
| 223 |
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
|
| 230 |
-
##
|
| 231 |
|
| 232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
|
| 234 |
## Citation
|
| 235 |
|
|
@@ -264,4 +362,6 @@ DNS reference data is from the **Johns Hopkins Turbulence Database** (JHTDB).
|
|
| 264 |
|
| 265 |
CC-BY-4.0 — free to use, modify, and redistribute with attribution to the PIVtools paper.
|
| 266 |
|
| 267 |
-
The DNS ground truth is derived from publicly accessible JHTDB data and is redistributed
|
|
|
|
|
|
|
|
|
| 11 |
- validation
|
| 12 |
- benchmark
|
| 13 |
- synthetic-data
|
| 14 |
+
- hot-wire-anemometry
|
| 15 |
pretty_name: PIVtools Turbulent Channel Validation Dataset
|
| 16 |
size_categories:
|
| 17 |
- 10K<n<100K
|
|
|
|
| 19 |
|
| 20 |
# PIVtools Turbulent Channel Validation Dataset
|
| 21 |
|
| 22 |
+
Reproducibility capsule for the PIVtools software paper (SoftwareX, submitted). It contains
|
| 23 |
+
everything needed to regenerate the paper's validation figures, at three levels of effort:
|
| 24 |
|
| 25 |
+
1. **Plot only** — run two scripts against the shipped `reference_results/`. No PIV processing.
|
| 26 |
+
2. **Reprocess** — run PIV → calibration → statistics from the shipped images and configs,
|
| 27 |
+
then plot from your own outputs.
|
| 28 |
+
3. **Re-derive calibration** — recompute the camera models from the shipped calibration
|
| 29 |
+
board images before reprocessing.
|
| 30 |
|
| 31 |
+
Two synthetic cases and one experimental case:
|
|
|
|
| 32 |
|
| 33 |
+
- **Case A (clean, synthetic)**: 85 000 particles per 2048 × 2048 image (≈ 5.2 ppw at
|
| 34 |
+
16 × 16 windows), no noise. Upper bound on PIV accuracy. Planar + stereo geometries.
|
| 35 |
+
- **Case B (noisy, synthetic)**: 22 000 particles per image (≈ 1.3 ppw), Gaussian sensor
|
| 36 |
+
noise (mean 80, std 16, SNR ≈ 8, independent per frame). Planar + stereo geometries.
|
| 37 |
+
- **Experimental**: 2 100 pairs of cropped, gain-normalised Cam4 images of a turbulent
|
| 38 |
+
channel/boundary-layer facility, compared against a hot-wire profile from the same
|
| 39 |
+
facility (shipped in `hotwire/hwa.mat`).
|
| 40 |
|
| 41 |
+
Each synthetic case has 4 000 image pairs. The stereo cameras sit symmetrically at ± 45°
|
| 42 |
+
from the sheet normal in a side-scatter arrangement. Ground truth comes from
|
| 43 |
+
DNS-derived particle statistics (JHTDB channel flow, Re_τ ≈ 1000); both cases derive from
|
| 44 |
+
the same snapshots at their respective particle counts, so finite-sample statistics are
|
| 45 |
+
self-consistent.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
## Contents
|
| 48 |
|
| 49 |
```
|
| 50 |
MTT69/TurbulentChannel/
|
| 51 |
+
├── README.md (this file)
|
| 52 |
+
├── LICENSE (CC-BY-4.0)
|
| 53 |
+
├── configs/ ready-to-run PIVtools configs (edit the
|
| 54 |
+
│ │ C:/EDIT_ME/... paths at the top, nothing else)
|
| 55 |
+
│ ├── planar_clean.yaml one config: clean case uses no preprocessing anywhere
|
| 56 |
+
│ ├── planar_noisy_instantaneous.yaml noisy case ships PER-PIPELINE configs: the
|
| 57 |
+
│ ├── planar_noisy_ensemble.yaml instantaneous ran with ssmin, the ensemble on RAW images
|
| 58 |
+
│ ├── stereo_clean.yaml
|
| 59 |
+
│ ├── stereo_noisy.yaml
|
| 60 |
+
│ ├── experimental_instantaneous.yaml experimental likewise: ssmin for instantaneous,
|
| 61 |
+
│ └── experimental_ensemble.yaml no filters for the ensemble
|
| 62 |
├── ground_truth/
|
| 63 |
+
│ ├── clean/direct_stats.mat DNS statistics for Case A (85k particles)
|
| 64 |
+
│ └── noisy/direct_stats.mat DNS statistics for Case B (22k particles)
|
| 65 |
+
├── hotwire/
|
| 66 |
+
│ └── hwa.mat hot-wire profile (uncorrected variance) + u_tau, l+, nu
|
| 67 |
+
├── calibration/
|
| 68 |
+
│ ├── planar/ ChArUco boards (calib%05d.tif, 20 views)
|
| 69 |
+
│ │ └── calibration/ + fitted model and settings sidecar (dt = 0.0057553 s)
|
| 70 |
+
│ ├── stereo/ board view-pairs under Cam1/, Cam2/ + ground_truth.npz
|
| 71 |
+
│ │ └── calibration/ + fitted stereo model and sidecar (dt = 0.0057553 s)
|
| 72 |
+
│ └── experimental/ single board view (calib_Cam_B00001_crop.tif)
|
| 73 |
+
│ └── calibration/ + scale-factor model (16.72 px/mm, wall origin,
|
| 74 |
+
│ axis signs) and sidecar (dt = 4.96e-05 s)
|
| 75 |
+
├── reference_results/ final calibrated outputs of the published runs
|
| 76 |
+
│ ├── planar_clean/ mean_stats.mat + ensemble_result.mat + coordinates.mat
|
| 77 |
+
│ ├── planar_noisy/ (same three files)
|
| 78 |
+
│ ├── stereo_clean/ mean_stats.mat (stereo Cam1_Cam2 statistics)
|
| 79 |
+
│ ├── stereo_noisy/ mean_stats.mat
|
| 80 |
+
│ └── experimental/ mean_stats.mat + ensemble_result.mat + coordinates.mat
|
| 81 |
+
├── planar_clean/ Case A planar images: B00001_A.tif ... B04000_B.tif
|
| 82 |
+
├── planar_noisy/ Case B planar images (same naming)
|
| 83 |
+
├── stereo_clean/Cam1/, Cam2/ Case A stereo images (4000 pairs per camera)
|
| 84 |
+
├── stereo_noisy/Cam1/, Cam2/ Case B stereo images
|
| 85 |
+
├── experimental/cam4_normalised/ 2100 pairs of cropped, gain-normalised TIFFs
|
| 86 |
└── scripts/
|
| 87 |
+
├── paper_figures.py synthetic validation figures (Cases A + B vs DNS)
|
| 88 |
+
├── piv_vs_hwa_paper.py experimental figure (PIV vs hot wire)
|
| 89 |
+
└── benchmark_comparison.py shared library (GT loading, wall-unit conversion)
|
|
|
|
|
|
|
|
|
|
| 90 |
```
|
| 91 |
|
| 92 |
+
## Tier 1 — regenerate the paper figures (no PIV processing)
|
| 93 |
|
| 94 |
+
Only needs standard scientific Python — no PIVtools install:
|
| 95 |
|
| 96 |
+
```bash
|
| 97 |
+
pip install numpy scipy h5py matplotlib
|
| 98 |
+
hf download MTT69/TurbulentChannel --repo-type dataset --local-dir tc
|
| 99 |
+
cd tc
|
| 100 |
+
|
| 101 |
+
# synthetic figures (mean velocity, stresses, combined stresses)
|
| 102 |
+
python scripts/paper_figures.py -o figs \
|
| 103 |
+
--gt-clean-dir ground_truth/clean --gt-noisy-dir ground_truth/noisy \
|
| 104 |
+
--inst-clean-stats reference_results/planar_clean/mean_stats.mat \
|
| 105 |
+
--ens-clean-dir reference_results/planar_clean \
|
| 106 |
+
--stereo-clean-stats reference_results/stereo_clean/mean_stats.mat \
|
| 107 |
+
--inst-noisy-stats reference_results/planar_noisy/mean_stats.mat \
|
| 108 |
+
--ens-noisy-dir reference_results/planar_noisy \
|
| 109 |
+
--stereo-noisy-stats reference_results/stereo_noisy/mean_stats.mat
|
| 110 |
+
|
| 111 |
+
# experimental figure (PIV vs hot wire)
|
| 112 |
+
python scripts/piv_vs_hwa_paper.py \
|
| 113 |
+
--ens-dir reference_results/experimental \
|
| 114 |
+
--inst-stats reference_results/experimental/mean_stats.mat \
|
| 115 |
+
--hwa hotwire/hwa.mat \
|
| 116 |
+
--ens-pass 2 --inst-pass 2 3 \
|
| 117 |
+
--inst-labels '16$\times$96 px' '8$\times$96 px' \
|
| 118 |
+
--utau-piv 0.7 --utau-hwa 0.68138107 --y-lo 0.640 \
|
| 119 |
+
--out figs/piv_vs_hwa_comparison.png
|
| 120 |
+
```
|
| 121 |
|
| 122 |
+
These exact commands, run against the shipped `reference_results/`, reproduce the paper
|
| 123 |
+
figures byte-for-byte on the authors' machine (fonts permitting: the scripts prefer
|
| 124 |
+
CMU Serif and fall back to DejaVu). Quote the `--inst-labels` arguments exactly as shown
|
| 125 |
+
(single quotes) so your shell does not eat the `$` characters.
|
| 126 |
|
| 127 |
+
## Tier 2 — reprocess from images
|
| 128 |
|
| 129 |
+
Install PIVtools, then run one case per working directory. The CLI reads `config.yaml`
|
| 130 |
+
from the current working directory — no flags, no fallbacks.
|
| 131 |
|
| 132 |
+
```bash
|
| 133 |
+
pip install pivtools
|
| 134 |
+
mkdir work_planar_clean && cd work_planar_clean
|
| 135 |
+
cp ../tc/configs/planar_clean.yaml config.yaml
|
| 136 |
+
# open config.yaml, replace every C:/EDIT_ME/... path (instructions in the header),
|
| 137 |
+
# then:
|
| 138 |
+
```
|
| 139 |
|
| 140 |
+
**planar_clean** (one config, both pipelines):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
|
| 142 |
+
```bash
|
| 143 |
+
pivtools-cli instantaneous
|
| 144 |
+
pivtools-cli ensemble
|
| 145 |
+
pivtools-cli apply-calibration --all-paths --type-name instantaneous
|
| 146 |
+
pivtools-cli apply-calibration --all-paths --type-name ensemble
|
| 147 |
+
pivtools-cli statistics
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
**planar_noisy and experimental** ship TWO configs each, because the published runs
|
| 151 |
+
used different preprocessing per pipeline (instantaneous: ssmin 7×7;
|
| 152 |
+
ensemble: raw images — adding a filter corrupts the ensemble stresses). Use one
|
| 153 |
+
working directory per config, with the SAME `base_paths` in both so outputs merge:
|
| 154 |
|
| 155 |
+
```bash
|
| 156 |
+
# directory 1: <case>_instantaneous.yaml as config.yaml
|
| 157 |
+
pivtools-cli instantaneous
|
| 158 |
+
pivtools-cli apply-calibration --all-paths --type-name instantaneous
|
| 159 |
+
pivtools-cli statistics
|
| 160 |
+
|
| 161 |
+
# directory 2: <case>_ensemble.yaml as config.yaml
|
| 162 |
+
pivtools-cli ensemble
|
| 163 |
+
pivtools-cli apply-calibration --all-paths --type-name ensemble
|
| 164 |
+
```
|
| 165 |
|
| 166 |
+
**Stereo cases** (instantaneous only — the paper uses no stereo ensemble):
|
| 167 |
|
| 168 |
+
```bash
|
| 169 |
+
pivtools-cli instantaneous
|
| 170 |
+
pivtools-cli apply-stereo --all-paths
|
| 171 |
+
pivtools-cli statistics --source-endpoint stereo
|
| 172 |
+
```
|
|
|
|
|
|
|
| 173 |
|
| 174 |
+
Outputs land under the `base_paths` folder you set:
|
| 175 |
+
calibrated vectors in `calibrated_piv/<n>/...`, statistics in
|
| 176 |
+
`statistics/<n>/.../mean_stats/mean_stats.mat` (stereo: `statistics/<n>/stereo/Cam1_Cam2/...`).
|
| 177 |
+
Point the Tier-1 figure commands at your own outputs instead of `reference_results/`
|
| 178 |
+
(the `--ens-*-dir` arguments want the folder holding `ensemble_result.mat` +
|
| 179 |
+
`coordinates.mat`; the `--*-stats` arguments want a `mean_stats.mat`).
|
| 180 |
|
| 181 |
+
**GUI instead of CLI:** load the same `config.yaml` in the PIVtools GUI and run the same
|
| 182 |
+
stages from their tabs (Process → Calibration → Statistics) — identical engine, identical
|
| 183 |
+
outputs. The calibration tab picks up the shipped model through the same
|
| 184 |
+
`calibration_sources` path in the config.
|
| 185 |
|
| 186 |
+
## Performance benchmark (optional)
|
| 187 |
|
| 188 |
+
The paper's strong-scaling benchmark is packaged with PIVtools as the
|
| 189 |
+
`pivtools-bench` console command — no scheduler scripts required. From the same
|
| 190 |
+
path-edited `planar_clean` working directory as Tier 2:
|
| 191 |
|
| 192 |
```bash
|
| 193 |
+
pivtools-bench scaling --config config.yaml \
|
| 194 |
+
--dataset <your download of TurbulentChannel/planar_clean> \
|
| 195 |
+
--n-images 3840 --sweep workers # add --dry-run to preview the matrix
|
|
|
|
|
|
|
|
|
|
| 196 |
```
|
| 197 |
|
| 198 |
+
This runs the full production pipeline (Dask cluster, load, correlate, save) at a
|
| 199 |
+
geometric sweep of worker counts sized to your machine's cores, two OpenMP threads
|
| 200 |
+
per worker, at fixed total workload — a strong-scaling measurement. Add
|
| 201 |
+
`--iterations 3` for error bars. Three outputs land in `bench_results/` under the
|
| 202 |
+
working directory:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
|
| 204 |
+
| Output | Contents |
|
| 205 |
+
|---|---|
|
| 206 |
+
| `scaling_<ts>.csv` | one row per run: timings, throughput, full provenance (git SHA, FFT backend, host, CPU) |
|
| 207 |
+
| `scaling_<ts>_summary.csv` | per-config median/IQR statistics plus speedup and parallel efficiency |
|
| 208 |
+
| `scaling_<ts>_paper.png` | throughput vs the ideal linear bound + parallel efficiency — the same two-panel layout as the paper's scaling figure |
|
| 209 |
|
| 210 |
+
(Two additional diagnostic figures are also written; the `matrix`/`oversub` sweep
|
| 211 |
+
modes explore worker×thread trade-offs beyond the paper's sweep — see
|
| 212 |
+
`pivtools-bench scaling --help`.)
|
| 213 |
|
| 214 |
+
Throughput numbers are hardware-dependent: the paper's peak of 117 pairs/s was
|
| 215 |
+
measured on a 192-core dual-EPYC node, and your core count sets your ceiling. The
|
| 216 |
+
scaling *shape* — near-linear until the memory bandwidth of the machine saturates —
|
| 217 |
+
is the reproducible claim. On a cluster, wrap this same command in your scheduler
|
| 218 |
+
of choice; nothing about it is scheduler-specific.
|
|
|
|
|
|
|
| 219 |
|
| 220 |
+
## Tier 3 — re-derive the calibration models
|
| 221 |
|
| 222 |
+
The shipped models under `calibration/*/calibration/` reproduce the paper as-is. To rebuild
|
| 223 |
+
them from the board images instead:
|
| 224 |
|
| 225 |
```bash
|
| 226 |
+
# planar (single camera; ChArUco 10 x 7 squares, 12 mm, DICT_4X4_1000)
|
| 227 |
+
pivtools-cli detect-charuco --source ./tc/calibration/planar \
|
| 228 |
+
--camera 1 --image-format "calib%05d.tif" --n-views 20 --square-size 0.012
|
| 229 |
+
|
| 230 |
+
# stereo pair (boards under Cam1/, Cam2/)
|
| 231 |
+
pivtools-cli detect-stereo --source ./tc/calibration/stereo --camera-pair 1,2 \
|
| 232 |
+
--image-format "calib%05d.tif" --n-views 20 --square-size 0.012
|
| 233 |
```
|
| 234 |
|
| 235 |
+
The synthetic boards are rendered through the same camera models that rendered the
|
| 236 |
+
particle images, so the recovered calibration corresponds exactly to the imaging system
|
| 237 |
+
(`calibration/stereo/ground_truth.npz` holds the true cameras; expected recovery:
|
| 238 |
+
stereo angle ≈ 89.9° vs the true 90.0°, RMS < 0.1 px). Detection writes proof figures
|
| 239 |
+
beside the model.
|
| 240 |
+
|
| 241 |
+
The experimental case uses a uniform scale-factor model rather than a fitted camera. The
|
| 242 |
+
shipped model (`calibration/experimental/calibration/Cam1/scale_factor_planar/model/`)
|
| 243 |
+
carries everything: 16.72 px/mm, the wall origin (origin_px [254.41, 1626.65] →
|
| 244 |
+
origin_mm [0, 11.17]) and the axis directions (col_sign −1, row_sign −1). Rebuilding it
|
| 245 |
+
requires clicking the origin on the board image — use the GUI Scale Factor tab, or
|
| 246 |
+
`pivtools-cli scale-factor --help` with the constants above.
|
| 247 |
+
|
| 248 |
+
## Key constants
|
| 249 |
+
|
| 250 |
+
| Quantity | Synthetic | Experimental |
|
| 251 |
+
|---|---|---|
|
| 252 |
+
| dt | 0.0057553 s | 4.96e-05 s |
|
| 253 |
+
| Scale factor | 13.6533 px/mm | 16.72 px/mm |
|
| 254 |
+
| u_τ | 8.4206 mm/s (DNS) | 0.700 m/s (PIV, freestream-matched); 0.68138 m/s (hot wire, OFI) |
|
| 255 |
+
| ν | — | 1.4943e-05 m²/s |
|
| 256 |
+
| Re_τ | 998 | — |
|
| 257 |
+
| δ_ν | 0.15030 mm | — |
|
| 258 |
+
| Hot-wire l+ | — | 45.6 |
|
| 259 |
+
|
| 260 |
+
## Image specifications (synthetic)
|
| 261 |
|
| 262 |
+
| Parameter | Value |
|
| 263 |
+
|-----------|-------|
|
| 264 |
+
| Image size | planar 2048 × 2048 px; stereo 1440 × 2080 px — 8-bit TIFF |
|
| 265 |
+
| Scale factor (planar) | 13.6533 px/mm (2048 px over the 150 mm half-height) |
|
| 266 |
+
| Particle diameter | ≈ 3 px |
|
| 267 |
+
| Laser sheet thickness | 1.2 mm (≈ 16 px at the planar scale) |
|
| 268 |
+
| Number of pairs | 4000 per case and geometry |
|
| 269 |
+
| Case A particle count | 85 000 per image (≈ 5.2 ppw at 16 × 16 windows), no noise |
|
| 270 |
+
| Case B particle count | 22 000 per image (≈ 1.3 ppw) |
|
| 271 |
+
| Case B noise | Gaussian, mean = 80, std = 16, SNR ≈ 8 — independent per frame |
|
| 272 |
+
| Stereo geometry | ± 45° side-scatter, Scheimpflug ± 2.39°, full-frame domain (no masks) |
|
| 273 |
|
| 274 |
+
## Ground truth
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 275 |
|
| 276 |
+
One file per case, each in its own subdirectory so the figure script can point at them
|
| 277 |
+
via `--gt-clean-dir` / `--gt-noisy-dir`:
|
| 278 |
|
| 279 |
+
- `ground_truth/clean/direct_stats.mat` — Case A reference (85 000 particle trajectories)
|
| 280 |
+
- `ground_truth/noisy/direct_stats.mat` — Case B reference (22 000 trajectories)
|
| 281 |
|
| 282 |
+
Both are computed directly from the JHTDB particle position snapshots used to render the
|
| 283 |
+
corresponding images (the truth derives from the particle files, not the rendered images).
|
| 284 |
+
The stereo cases share the same files. Schema:
|
| 285 |
+
|
| 286 |
+
| Key | Shape | Description |
|
| 287 |
+
|-----|-------|-------------|
|
| 288 |
+
| `y_plus` | (N,) | wall-normal coordinate, wall units |
|
| 289 |
+
| `U_plus` | (N, 3) | mean velocity [U, V, W] in wall units |
|
| 290 |
+
| `stress_plus` | (N, 3, 3) | Reynolds stress tensor in wall units |
|
| 291 |
+
| `stress_ci_lo`, `stress_ci_hi` | (N, 3, 3) | 95% confidence interval |
|
| 292 |
+
| `umean_ci_lo`, `umean_ci_hi` | (N, 3) | 95% CI for mean velocity |
|
| 293 |
+
| `u_tau` | scalar | friction velocity (mm/s) |
|
| 294 |
+
| `delta_nu` | scalar | viscous length scale (mm) |
|
| 295 |
+
| `Re_tau` | scalar | friction Reynolds number |
|
| 296 |
+
|
| 297 |
+
## Hot-wire data
|
| 298 |
+
|
| 299 |
+
`hotwire/hwa.mat` is an HDF5 file with a `caseData` group holding exactly what the
|
| 300 |
+
experimental figure needs:
|
| 301 |
+
|
| 302 |
+
| Field | Description |
|
| 303 |
+
|---|---|
|
| 304 |
+
| `y_corrected_poly` | wall-normal positions (m), wall-origin corrected |
|
| 305 |
+
| `meanvel_poly_corrected` | mean velocity (m/s) |
|
| 306 |
+
| `variance_poly_corrected` | streamwise variance (m²/s²) — wall-origin corrected, **not** spatial-resolution corrected |
|
| 307 |
+
| `utau_ofi` | friction velocity from oil-film interferometry (0.68138 m/s) |
|
| 308 |
+
| `lplus` | wire length in wall units (45.6) |
|
| 309 |
+
| `nu_air` | kinematic viscosity (m²/s) |
|
| 310 |
+
|
| 311 |
+
The figure plots the uncorrected variance deliberately: at l+ ≈ 46 the wire attenuates
|
| 312 |
+
the near-wall peak, and the comparison discusses that rather than hiding it behind a
|
| 313 |
+
correction.
|
| 314 |
|
| 315 |
+
## Image orientation
|
| 316 |
|
| 317 |
+
There are no masks: the stereo renders fill the full frame and the planar images are
|
| 318 |
+
full-field. Both synthetic geometries read physically — the channel wall is at the bottom
|
| 319 |
+
row, fast flow at the top. The stereo renders have a single deterministic vertical flip
|
| 320 |
+
composed into both the images and the calibration boards, so calibration and images are
|
| 321 |
+
consistent. Do not flip anything downstream.
|
| 322 |
|
| 323 |
+
## Provenance
|
| 324 |
|
| 325 |
+
The synthetic images were rendered from JHTDB turbulent-channel particle trajectories with
|
| 326 |
+
the EUROPIV Synthetic Image Generator; noise was added post-render with independent
|
| 327 |
+
per-frame seeds. The full generation chain (JHTDB download, particle conversion,
|
| 328 |
+
85k → 22k downsampling, SIG configs, render recipes, noise and ground-truth scripts) was
|
| 329 |
+
removed from the current tree to keep the capsule focused, but remains available in this
|
| 330 |
+
repository's git history.
|
| 331 |
|
| 332 |
## Citation
|
| 333 |
|
|
|
|
| 362 |
|
| 363 |
CC-BY-4.0 — free to use, modify, and redistribute with attribution to the PIVtools paper.
|
| 364 |
|
| 365 |
+
The DNS ground truth is derived from publicly accessible JHTDB data and is redistributed
|
| 366 |
+
here under the same permissive terms; consult the JHTDB usage policy
|
| 367 |
+
(http://turbulence.pha.jhu.edu) for their citation requirements.
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a69e79d958598d967e1b9e8248323fa44359191bf271d065aa45e15e0346f988
|
| 3 |
+
size 2344
|
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version: 1
|
| 2 |
+
image:
|
| 3 |
+
image_format: calib_Cam_B00001_crop.tif
|
| 4 |
+
image_type: standard
|
| 5 |
+
n_views: null
|
| 6 |
+
start_index: 1
|
| 7 |
+
zero_based_indexing: false
|
| 8 |
+
use_camera_subfolders: false
|
| 9 |
+
camera_subfolders: []
|
| 10 |
+
rig:
|
| 11 |
+
camera: 1
|
| 12 |
+
camera_pair:
|
| 13 |
+
- 1
|
| 14 |
+
- 2
|
| 15 |
+
dt: 4.96e-05
|
| 16 |
+
datum_frame: 1
|
| 17 |
+
interpolator: lanczos
|
| 18 |
+
piv_type: instantaneous
|
| 19 |
+
fit:
|
| 20 |
+
distortion_model: standard
|
| 21 |
+
fix_aspect_ratio: true
|
| 22 |
+
self_cal_n_images: 20
|
| 23 |
+
world_frame: default
|
| 24 |
+
world_frame_cam2: null
|
| 25 |
+
world_frame_grid: null
|
| 26 |
+
world_frame_grid_cam2: null
|
| 27 |
+
global_coordinates:
|
| 28 |
+
enabled: false
|
| 29 |
+
datum_camera: 1
|
| 30 |
+
datum_pixel: null
|
| 31 |
+
datum_physical:
|
| 32 |
+
- 0.0
|
| 33 |
+
- 0.0
|
| 34 |
+
datum_frame: 1
|
| 35 |
+
overlap_pairs: []
|
| 36 |
+
methods:
|
| 37 |
+
dotboard:
|
| 38 |
+
dot_spacing_mm: null
|
| 39 |
+
k_neighbors: 9
|
| 40 |
+
model_type: pinhole
|
| 41 |
+
charuco:
|
| 42 |
+
squares_h: null
|
| 43 |
+
squares_v: null
|
| 44 |
+
square_size: null
|
| 45 |
+
marker_ratio: 0.5
|
| 46 |
+
aruco_dict: DICT_4X4_1000
|
| 47 |
+
min_corners: 6
|
| 48 |
+
model_type: pinhole
|
| 49 |
+
stepped:
|
| 50 |
+
dot_spacing_mm: null
|
| 51 |
+
step_height_mm: null
|
| 52 |
+
board_thickness_mm: null
|
| 53 |
+
level_offset_mm: null
|
| 54 |
+
stepped_stereo:
|
| 55 |
+
stereo_config: auto
|
| 56 |
+
model_type: pinhole
|
| 57 |
+
scale_factor:
|
| 58 |
+
px_per_mm: 16.72
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe382296114160595739e985d3cda31b79422e181b55655cf3022a6c5def2926
|
| 3 |
+
size 92368
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:851cf5c7626735af602b4e333bf74c75d5bbb94619b7f6d5d79c10fb9f55ded5
|
| 3 |
+
size 5672
|
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version: 1
|
| 2 |
+
image:
|
| 3 |
+
image_format: calib%05d.tif
|
| 4 |
+
image_type: standard
|
| 5 |
+
n_views: 20
|
| 6 |
+
start_index: 1
|
| 7 |
+
zero_based_indexing: false
|
| 8 |
+
use_camera_subfolders: false
|
| 9 |
+
camera_subfolders: []
|
| 10 |
+
rig:
|
| 11 |
+
camera: 1
|
| 12 |
+
camera_pair:
|
| 13 |
+
- 1
|
| 14 |
+
- 2
|
| 15 |
+
dt: 0.0057553
|
| 16 |
+
datum_frame: 1
|
| 17 |
+
interpolator: lanczos
|
| 18 |
+
piv_type: ensemble
|
| 19 |
+
fit:
|
| 20 |
+
distortion_model: standard
|
| 21 |
+
fix_aspect_ratio: true
|
| 22 |
+
self_cal_n_images: 20
|
| 23 |
+
world_frame: default
|
| 24 |
+
world_frame_cam2: null
|
| 25 |
+
world_frame_grid: null
|
| 26 |
+
world_frame_grid_cam2: null
|
| 27 |
+
global_coordinates:
|
| 28 |
+
enabled: false
|
| 29 |
+
datum_camera: 1
|
| 30 |
+
datum_pixel: null
|
| 31 |
+
datum_physical:
|
| 32 |
+
- 0.0
|
| 33 |
+
- 0.0
|
| 34 |
+
datum_frame: 1
|
| 35 |
+
overlap_pairs: []
|
| 36 |
+
methods:
|
| 37 |
+
dotboard:
|
| 38 |
+
dot_spacing_mm: null
|
| 39 |
+
k_neighbors: 9
|
| 40 |
+
model_type: pinhole
|
| 41 |
+
charuco:
|
| 42 |
+
squares_h: 10
|
| 43 |
+
squares_v: 7
|
| 44 |
+
square_size: 0.012
|
| 45 |
+
marker_ratio: 0.5
|
| 46 |
+
aruco_dict: DICT_4X4_1000
|
| 47 |
+
min_corners: 6
|
| 48 |
+
model_type: pinhole
|
| 49 |
+
stepped:
|
| 50 |
+
dot_spacing_mm: null
|
| 51 |
+
step_height_mm: null
|
| 52 |
+
board_thickness_mm: null
|
| 53 |
+
level_offset_mm: null
|
| 54 |
+
stepped_stereo:
|
| 55 |
+
stereo_config: auto
|
| 56 |
+
model_type: pinhole
|
| 57 |
+
scale_factor:
|
| 58 |
+
px_per_mm: null
|
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version: 1
|
| 2 |
+
image:
|
| 3 |
+
image_format: calib%05d.tif
|
| 4 |
+
image_type: standard
|
| 5 |
+
n_views: 20
|
| 6 |
+
start_index: 1
|
| 7 |
+
zero_based_indexing: false
|
| 8 |
+
use_camera_subfolders: true
|
| 9 |
+
camera_subfolders: []
|
| 10 |
+
rig:
|
| 11 |
+
camera: 1
|
| 12 |
+
camera_pair:
|
| 13 |
+
- 1
|
| 14 |
+
- 2
|
| 15 |
+
dt: 0.0057553
|
| 16 |
+
datum_frame: 1
|
| 17 |
+
interpolator: lanczos
|
| 18 |
+
piv_type: instantaneous
|
| 19 |
+
fit:
|
| 20 |
+
distortion_model: standard
|
| 21 |
+
fix_aspect_ratio: true
|
| 22 |
+
self_cal_n_images: 20
|
| 23 |
+
world_frame: default
|
| 24 |
+
world_frame_cam2: null
|
| 25 |
+
world_frame_grid: null
|
| 26 |
+
world_frame_grid_cam2: null
|
| 27 |
+
global_coordinates:
|
| 28 |
+
enabled: false
|
| 29 |
+
datum_camera: 1
|
| 30 |
+
datum_pixel: null
|
| 31 |
+
datum_physical:
|
| 32 |
+
- 0.0
|
| 33 |
+
- 0.0
|
| 34 |
+
datum_frame: 1
|
| 35 |
+
overlap_pairs: []
|
| 36 |
+
methods:
|
| 37 |
+
dotboard:
|
| 38 |
+
dot_spacing_mm: null
|
| 39 |
+
k_neighbors: 9
|
| 40 |
+
model_type: pinhole
|
| 41 |
+
charuco:
|
| 42 |
+
squares_h: 10
|
| 43 |
+
squares_v: 7
|
| 44 |
+
square_size: 0.012
|
| 45 |
+
marker_ratio: 0.5
|
| 46 |
+
aruco_dict: DICT_4X4_1000
|
| 47 |
+
min_corners: 6
|
| 48 |
+
model_type: pinhole
|
| 49 |
+
stepped:
|
| 50 |
+
dot_spacing_mm: null
|
| 51 |
+
step_height_mm: null
|
| 52 |
+
board_thickness_mm: null
|
| 53 |
+
level_offset_mm: null
|
| 54 |
+
stepped_stereo:
|
| 55 |
+
stereo_config: auto
|
| 56 |
+
model_type: pinhole
|
| 57 |
+
scale_factor:
|
| 58 |
+
px_per_mm: null
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8dd4c0a738222c7d0af4ed2118679f044f3cb0dd7c6c08368a1773d7e6976c82
|
| 3 |
+
size 178608
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18f03b2a5cbac067b3456f4ec3248dc2dd5bba8d32e2d711c9f7994647baf8f1
|
| 3 |
+
size 9864
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2576c01319059af28e0361285cb18aef45050e5d7bf5d81db4e5bf311a54b73c
|
| 3 |
+
size 7154
|
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# =============================================================================
|
| 2 |
+
# PIVtools config -- EXPERIMENTAL Cam4, ENSEMBLE pipeline only
|
| 3 |
+
# Reproduces: ensemble 8x96 x2 vs 32x32 sum windows (paper plots pass 2)
|
| 4 |
+
# The experimental case needs DIFFERENT preprocessing per pipeline, so it ships
|
| 5 |
+
# as TWO configs. Run from this one:
|
| 6 |
+
# pivtools-cli ensemble
|
| 7 |
+
# pivtools-cli apply-calibration --all-paths --type-name ensemble
|
| 8 |
+
# (run the instantaneous from experimental_instantaneous.yaml in its own directory)
|
| 9 |
+
# -----------------------------------------------------------------------------
|
| 10 |
+
# EDIT BEFORE RUNNING (search for EDIT_ME):
|
| 11 |
+
# paths.source_paths -> your download of
|
| 12 |
+
# TurbulentChannel/experimental/cam4_normalised
|
| 13 |
+
# paths.base_paths -> any writable output folder (SAME folder in
|
| 14 |
+
# both experimental configs -- outputs merge)
|
| 15 |
+
# calibration.calibration_sources + calibration.source
|
| 16 |
+
# -> your download of TurbulentChannel/calibration/experimental
|
| 17 |
+
# DO NOT CHANGE:
|
| 18 |
+
# filters: [] the ensemble runs on RAW images. Verified
|
| 19 |
+
# 2026-07-30: adding ssmin or time preprocessing
|
| 20 |
+
# corrupts the ensemble stresses.
|
| 21 |
+
# ensemble_piv.envelope_divide: true and kspace_shape: gaussian (published run)
|
| 22 |
+
# The scale-factor calibration sidecar carries dt = 4.96e-05 s.
|
| 23 |
+
# =============================================================================
|
| 24 |
+
paths:
|
| 25 |
+
base_paths:
|
| 26 |
+
- C:/EDIT_ME/Results/experimental
|
| 27 |
+
source_paths:
|
| 28 |
+
- C:/EDIT_ME/TurbulentChannel/experimental/cam4_normalised
|
| 29 |
+
active_paths:
|
| 30 |
+
- 0
|
| 31 |
+
camera_numbers:
|
| 32 |
+
- 1
|
| 33 |
+
camera_count: 1
|
| 34 |
+
camera_subfolders: []
|
| 35 |
+
images:
|
| 36 |
+
image_format:
|
| 37 |
+
- B%05d_A.tif
|
| 38 |
+
- B%05d_B.tif
|
| 39 |
+
vector_format:
|
| 40 |
+
- '%05d.mat'
|
| 41 |
+
dtype: float32
|
| 42 |
+
image_type: standard
|
| 43 |
+
use_camera_subfolders: false
|
| 44 |
+
start_index: 1
|
| 45 |
+
frame_stride: 0
|
| 46 |
+
pair_stride: 1
|
| 47 |
+
pairing_preset: ab_format
|
| 48 |
+
num_loops: 1
|
| 49 |
+
num_images: 2100
|
| 50 |
+
image_shape:
|
| 51 |
+
- 1836
|
| 52 |
+
- 512
|
| 53 |
+
batches:
|
| 54 |
+
size: 5
|
| 55 |
+
logging:
|
| 56 |
+
file: pypiv.log
|
| 57 |
+
level: INFO
|
| 58 |
+
console: true
|
| 59 |
+
processing:
|
| 60 |
+
backend: cpu
|
| 61 |
+
debug: false
|
| 62 |
+
auto_compute_params: false
|
| 63 |
+
omp_threads: 4
|
| 64 |
+
dask_workers_per_node: 5
|
| 65 |
+
dask_memory_limit: 10GB
|
| 66 |
+
dask_max_in_flight_per_worker: 2
|
| 67 |
+
open_dashboard: false
|
| 68 |
+
dask_nanny: false
|
| 69 |
+
post_processing_workers: 16
|
| 70 |
+
always_batch: true
|
| 71 |
+
instantaneous: false
|
| 72 |
+
ensemble: true
|
| 73 |
+
outlier_detection:
|
| 74 |
+
enabled: true
|
| 75 |
+
methods:
|
| 76 |
+
- threshold: 0.25
|
| 77 |
+
type: peak_mag
|
| 78 |
+
- type: median_2d
|
| 79 |
+
epsilon: 0.1
|
| 80 |
+
threshold: 2
|
| 81 |
+
infilling:
|
| 82 |
+
mid_pass:
|
| 83 |
+
method: nearest
|
| 84 |
+
parameters: {}
|
| 85 |
+
final_pass:
|
| 86 |
+
enabled: true
|
| 87 |
+
method: biharmonic
|
| 88 |
+
parameters: {}
|
| 89 |
+
ensemble_outlier_detection:
|
| 90 |
+
enabled: true
|
| 91 |
+
methods:
|
| 92 |
+
- type: median_2d
|
| 93 |
+
epsilon: 0.1
|
| 94 |
+
threshold: 2
|
| 95 |
+
size: 5
|
| 96 |
+
ensemble_infilling:
|
| 97 |
+
mid_pass:
|
| 98 |
+
method: biharmonic
|
| 99 |
+
parameters: {}
|
| 100 |
+
final_pass:
|
| 101 |
+
enabled: true
|
| 102 |
+
method: biharmonic
|
| 103 |
+
parameters: {}
|
| 104 |
+
plots:
|
| 105 |
+
save_extension: .png
|
| 106 |
+
save_pickle: true
|
| 107 |
+
fontsize: 14
|
| 108 |
+
title_fontsize: 16
|
| 109 |
+
video:
|
| 110 |
+
base_path_idx: 0
|
| 111 |
+
camera: 1
|
| 112 |
+
data_source: stereo
|
| 113 |
+
variable: mag
|
| 114 |
+
run: 3
|
| 115 |
+
piv_type: ensemble
|
| 116 |
+
cmap: default
|
| 117 |
+
lower: ''
|
| 118 |
+
upper: ''
|
| 119 |
+
fps: 30
|
| 120 |
+
crf: 15
|
| 121 |
+
resolution: 4k
|
| 122 |
+
source_endpoint: regular
|
| 123 |
+
statistics:
|
| 124 |
+
enabled_methods:
|
| 125 |
+
inst_gamma: false
|
| 126 |
+
inst_stresses: false
|
| 127 |
+
mean_stresses: true
|
| 128 |
+
mean_velocity: true
|
| 129 |
+
inst_divergence: false
|
| 130 |
+
fluctuating_velocity: false
|
| 131 |
+
mean_divergence: false
|
| 132 |
+
correlation_quality: true
|
| 133 |
+
vorticity: false
|
| 134 |
+
divergence: false
|
| 135 |
+
gamma1: false
|
| 136 |
+
gamma2: false
|
| 137 |
+
inst_vorticity: false
|
| 138 |
+
mean_vorticity: false
|
| 139 |
+
mean_tke: false
|
| 140 |
+
tke: false
|
| 141 |
+
inst_velocity: false
|
| 142 |
+
gamma_radius: 4
|
| 143 |
+
save_figures: true
|
| 144 |
+
type_name: ensemble
|
| 145 |
+
source_endpoint: regular
|
| 146 |
+
instantaneous_piv:
|
| 147 |
+
window_size:
|
| 148 |
+
- - 8
|
| 149 |
+
- 96
|
| 150 |
+
- - 8
|
| 151 |
+
- 96
|
| 152 |
+
overlap:
|
| 153 |
+
- 50
|
| 154 |
+
- 50
|
| 155 |
+
runs:
|
| 156 |
+
- 2
|
| 157 |
+
time_resolved: false
|
| 158 |
+
window_type: gaussian
|
| 159 |
+
num_peaks: 1
|
| 160 |
+
peak_finder: gauss6
|
| 161 |
+
secondary_peak: false
|
| 162 |
+
predictor_smoothing: false
|
| 163 |
+
save_mode: full
|
| 164 |
+
save_compression: false
|
| 165 |
+
image_warp_interpolation: lanczos
|
| 166 |
+
dump_correlation_planes: false
|
| 167 |
+
ensemble_piv:
|
| 168 |
+
fit_method: kspace
|
| 169 |
+
kspace_shape: gaussian
|
| 170 |
+
kspace_floor: coloured
|
| 171 |
+
skip_background_subtraction: false
|
| 172 |
+
gradient_correction: true
|
| 173 |
+
persist_images: false
|
| 174 |
+
predictor_smoothing: false
|
| 175 |
+
image_warp_interpolation: lanczos
|
| 176 |
+
mask_center_pixel: true
|
| 177 |
+
background_subtraction_method: correlation+dc_zero
|
| 178 |
+
window_size:
|
| 179 |
+
- - 8
|
| 180 |
+
- 96
|
| 181 |
+
- - 8
|
| 182 |
+
- 96
|
| 183 |
+
overlap:
|
| 184 |
+
- 50
|
| 185 |
+
- 50
|
| 186 |
+
type:
|
| 187 |
+
- std
|
| 188 |
+
- std
|
| 189 |
+
runs:
|
| 190 |
+
- 1
|
| 191 |
+
- 2
|
| 192 |
+
store_planes: true
|
| 193 |
+
save_diagnostics: true
|
| 194 |
+
sum_window:
|
| 195 |
+
- 32
|
| 196 |
+
- 32
|
| 197 |
+
sum_fitting_window_enabled: true
|
| 198 |
+
sum_fitting_window:
|
| 199 |
+
- 16
|
| 200 |
+
- 16
|
| 201 |
+
resume_from_pass: 0
|
| 202 |
+
window_type: square
|
| 203 |
+
predictor_boundary_conditions: []
|
| 204 |
+
per_pair_normalization: false
|
| 205 |
+
predictor_rounding: false
|
| 206 |
+
envelope_divide: true
|
| 207 |
+
calibration:
|
| 208 |
+
calibration_sources:
|
| 209 |
+
- C:/EDIT_ME/TurbulentChannel/calibration/experimental
|
| 210 |
+
source: C:/EDIT_ME/TurbulentChannel/calibration/experimental
|
| 211 |
+
source_idx: 0
|
| 212 |
+
active: scale_factor
|
| 213 |
+
filters: []
|
| 214 |
+
masking:
|
| 215 |
+
enabled: false
|
| 216 |
+
mask_file_pattern: mask_Cam%d.mat
|
| 217 |
+
mask_threshold: 0.01
|
| 218 |
+
mode: rectangular
|
| 219 |
+
rectangular:
|
| 220 |
+
top: 0
|
| 221 |
+
bottom: 0
|
| 222 |
+
left: 0
|
| 223 |
+
right: 0
|
| 224 |
+
merging:
|
| 225 |
+
type_name: ensemble
|
| 226 |
+
base_path_idx: 0
|
| 227 |
+
cameras: null
|
| 228 |
+
transforms:
|
| 229 |
+
base_path_idx: 0
|
| 230 |
+
type_name: ensemble
|
| 231 |
+
cameras:
|
| 232 |
+
1:
|
| 233 |
+
operations: []
|
| 234 |
+
source_endpoint: regular
|
|
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# =============================================================================
|
| 2 |
+
# PIVtools config -- EXPERIMENTAL Cam4, INSTANTANEOUS pipeline only
|
| 3 |
+
# Reproduces: instantaneous 32x96 -> 16x96 -> 8x96 (paper plots passes 2 AND 3)
|
| 4 |
+
# The experimental case needs DIFFERENT preprocessing per pipeline, so it ships
|
| 5 |
+
# as TWO configs. Run from this one:
|
| 6 |
+
# pivtools-cli instantaneous
|
| 7 |
+
# pivtools-cli apply-calibration --all-paths --type-name instantaneous
|
| 8 |
+
# pivtools-cli statistics
|
| 9 |
+
# (run the ensemble from experimental_ensemble.yaml in its own directory)
|
| 10 |
+
# -----------------------------------------------------------------------------
|
| 11 |
+
# EDIT BEFORE RUNNING (search for EDIT_ME):
|
| 12 |
+
# paths.source_paths -> your download of
|
| 13 |
+
# TurbulentChannel/experimental/cam4_normalised
|
| 14 |
+
# paths.base_paths -> any writable output folder (SAME folder in
|
| 15 |
+
# both experimental configs -- outputs merge)
|
| 16 |
+
# calibration.calibration_sources + calibration.source
|
| 17 |
+
# -> your download of TurbulentChannel/calibration/experimental
|
| 18 |
+
# DO NOT CHANGE:
|
| 19 |
+
# filters: ssmin 7x7 sliding-minimum background subtraction -- the
|
| 20 |
+
# published instantaneous preprocessing.
|
| 21 |
+
# The scale-factor calibration sidecar carries dt = 4.96e-05 s.
|
| 22 |
+
# =============================================================================
|
| 23 |
+
paths:
|
| 24 |
+
base_paths:
|
| 25 |
+
- C:/EDIT_ME/Results/experimental
|
| 26 |
+
source_paths:
|
| 27 |
+
- C:/EDIT_ME/TurbulentChannel/experimental/cam4_normalised
|
| 28 |
+
active_paths:
|
| 29 |
+
- 0
|
| 30 |
+
camera_numbers:
|
| 31 |
+
- 1
|
| 32 |
+
camera_count: 1
|
| 33 |
+
camera_subfolders: []
|
| 34 |
+
images:
|
| 35 |
+
image_format:
|
| 36 |
+
- B%05d_A.tif
|
| 37 |
+
- B%05d_B.tif
|
| 38 |
+
vector_format:
|
| 39 |
+
- '%05d.mat'
|
| 40 |
+
dtype: float32
|
| 41 |
+
image_type: standard
|
| 42 |
+
use_camera_subfolders: false
|
| 43 |
+
start_index: 1
|
| 44 |
+
frame_stride: 0
|
| 45 |
+
pair_stride: 1
|
| 46 |
+
pairing_preset: ab_format
|
| 47 |
+
num_loops: 1
|
| 48 |
+
num_images: 2100
|
| 49 |
+
image_shape:
|
| 50 |
+
- 1836
|
| 51 |
+
- 512
|
| 52 |
+
batches:
|
| 53 |
+
size: 20
|
| 54 |
+
logging:
|
| 55 |
+
file: pypiv.log
|
| 56 |
+
level: INFO
|
| 57 |
+
console: true
|
| 58 |
+
processing:
|
| 59 |
+
backend: cpu
|
| 60 |
+
debug: false
|
| 61 |
+
auto_compute_params: false
|
| 62 |
+
omp_threads: 4
|
| 63 |
+
dask_workers_per_node: 5
|
| 64 |
+
dask_memory_limit: 10GB
|
| 65 |
+
dask_max_in_flight_per_worker: 2
|
| 66 |
+
open_dashboard: false
|
| 67 |
+
dask_nanny: false
|
| 68 |
+
post_processing_workers: 16
|
| 69 |
+
always_batch: true
|
| 70 |
+
instantaneous: true
|
| 71 |
+
ensemble: false
|
| 72 |
+
outlier_detection:
|
| 73 |
+
enabled: true
|
| 74 |
+
methods:
|
| 75 |
+
- threshold: 0.25
|
| 76 |
+
type: peak_mag
|
| 77 |
+
- type: median_2d
|
| 78 |
+
epsilon: 0.1
|
| 79 |
+
threshold: 2
|
| 80 |
+
infilling:
|
| 81 |
+
mid_pass:
|
| 82 |
+
method: nearest
|
| 83 |
+
parameters: {}
|
| 84 |
+
final_pass:
|
| 85 |
+
enabled: true
|
| 86 |
+
method: biharmonic
|
| 87 |
+
parameters: {}
|
| 88 |
+
plots:
|
| 89 |
+
save_extension: .png
|
| 90 |
+
save_pickle: true
|
| 91 |
+
fontsize: 14
|
| 92 |
+
title_fontsize: 16
|
| 93 |
+
video:
|
| 94 |
+
base_path_idx: 0
|
| 95 |
+
camera: 1
|
| 96 |
+
data_source: stereo
|
| 97 |
+
variable: mag
|
| 98 |
+
run: 3
|
| 99 |
+
piv_type: instantaneous
|
| 100 |
+
cmap: default
|
| 101 |
+
lower: ''
|
| 102 |
+
upper: ''
|
| 103 |
+
fps: 30
|
| 104 |
+
crf: 15
|
| 105 |
+
resolution: 4k
|
| 106 |
+
source_endpoint: regular
|
| 107 |
+
statistics:
|
| 108 |
+
enabled_methods:
|
| 109 |
+
inst_vorticity: false
|
| 110 |
+
gamma2: false
|
| 111 |
+
inst_divergence: false
|
| 112 |
+
mean_velocity: true
|
| 113 |
+
vorticity: false
|
| 114 |
+
mean_vorticity: false
|
| 115 |
+
tke: false
|
| 116 |
+
inst_gamma: false
|
| 117 |
+
mean_tke: false
|
| 118 |
+
correlation_quality: true
|
| 119 |
+
inst_stresses: false
|
| 120 |
+
divergence: false
|
| 121 |
+
inst_velocity: false
|
| 122 |
+
gamma1: false
|
| 123 |
+
mean_stresses: true
|
| 124 |
+
mean_divergence: false
|
| 125 |
+
fluctuating_velocity: false
|
| 126 |
+
gamma_radius: 4
|
| 127 |
+
save_figures: true
|
| 128 |
+
type_name: instantaneous
|
| 129 |
+
source_endpoint: regular
|
| 130 |
+
instantaneous_piv:
|
| 131 |
+
window_size:
|
| 132 |
+
- - 32
|
| 133 |
+
- 96
|
| 134 |
+
- - 16
|
| 135 |
+
- 96
|
| 136 |
+
- - 8
|
| 137 |
+
- 96
|
| 138 |
+
overlap:
|
| 139 |
+
- 50
|
| 140 |
+
- 50
|
| 141 |
+
- 50
|
| 142 |
+
runs:
|
| 143 |
+
- 2
|
| 144 |
+
- 3
|
| 145 |
+
time_resolved: false
|
| 146 |
+
window_type: gaussian
|
| 147 |
+
num_peaks: 1
|
| 148 |
+
peak_finder: gauss6
|
| 149 |
+
secondary_peak: false
|
| 150 |
+
predictor_smoothing: false
|
| 151 |
+
save_mode: full
|
| 152 |
+
save_compression: false
|
| 153 |
+
image_warp_interpolation: lanczos
|
| 154 |
+
dump_correlation_planes: false
|
| 155 |
+
calibration:
|
| 156 |
+
calibration_sources:
|
| 157 |
+
- C:/EDIT_ME/TurbulentChannel/calibration/experimental
|
| 158 |
+
source: C:/EDIT_ME/TurbulentChannel/calibration/experimental
|
| 159 |
+
source_idx: 0
|
| 160 |
+
active: scale_factor
|
| 161 |
+
filters:
|
| 162 |
+
- type: ssmin
|
| 163 |
+
size:
|
| 164 |
+
- 7
|
| 165 |
+
- 7
|
| 166 |
+
masking:
|
| 167 |
+
enabled: false
|
| 168 |
+
mask_file_pattern: mask_Cam%d.mat
|
| 169 |
+
mask_threshold: 0.01
|
| 170 |
+
mode: rectangular
|
| 171 |
+
rectangular:
|
| 172 |
+
top: 0
|
| 173 |
+
bottom: 0
|
| 174 |
+
left: 0
|
| 175 |
+
right: 0
|
| 176 |
+
merging:
|
| 177 |
+
type_name: instantaneous
|
| 178 |
+
base_path_idx: 0
|
| 179 |
+
cameras: null
|
| 180 |
+
transforms:
|
| 181 |
+
base_path_idx: 0
|
| 182 |
+
type_name: instantaneous
|
| 183 |
+
cameras:
|
| 184 |
+
1:
|
| 185 |
+
operations: []
|
| 186 |
+
source_endpoint: regular
|
|
@@ -0,0 +1,236 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# =============================================================================
|
| 2 |
+
# PIVtools config -- SYNTHETIC PLANAR, CLEAN (paper Case A, planar arm)
|
| 3 |
+
# Reproduces: instantaneous 64x64 -> 32x32 -> 16x16 (stats on the 16x16 pass)
|
| 4 |
+
# ensemble 64x64 -> 32x32 -> 8x8 single-mode vs 32x32 sum windows
|
| 5 |
+
# -----------------------------------------------------------------------------
|
| 6 |
+
# EDIT BEFORE RUNNING (search for EDIT_ME):
|
| 7 |
+
# paths.source_paths -> your download of TurbulentChannel/planar_clean
|
| 8 |
+
# paths.base_paths -> any writable output folder
|
| 9 |
+
# calibration.calibration_sources + calibration.source
|
| 10 |
+
# -> your download of TurbulentChannel/calibration/planar
|
| 11 |
+
# DO NOT CHANGE (these are the published-run settings):
|
| 12 |
+
# ensemble_piv.envelope_divide: false (true corrupts uu+ by 10-20% at 8x8)
|
| 13 |
+
# ensemble_piv.kspace_shape: kx4, kspace_floor: coloured
|
| 14 |
+
# The calibration sidecar carries dt = 0.0057553 s -- no dt entry here.
|
| 15 |
+
# Run order (see README): instantaneous PIV -> ensemble PIV -> apply calibration
|
| 16 |
+
# -> statistics (instantaneous) -> figure scripts.
|
| 17 |
+
# =============================================================================
|
| 18 |
+
paths:
|
| 19 |
+
base_paths:
|
| 20 |
+
- C:/EDIT_ME/Results/planar_clean
|
| 21 |
+
source_paths:
|
| 22 |
+
- C:/EDIT_ME/TurbulentChannel/planar_clean
|
| 23 |
+
active_paths:
|
| 24 |
+
- 0
|
| 25 |
+
camera_numbers:
|
| 26 |
+
- 1
|
| 27 |
+
camera_count: 1
|
| 28 |
+
camera_subfolders: []
|
| 29 |
+
images:
|
| 30 |
+
image_format:
|
| 31 |
+
- B%05d_A.tif
|
| 32 |
+
- B%05d_B.tif
|
| 33 |
+
vector_format:
|
| 34 |
+
- '%05d.mat'
|
| 35 |
+
dtype: float32
|
| 36 |
+
image_type: standard
|
| 37 |
+
use_camera_subfolders: false
|
| 38 |
+
start_index: 1
|
| 39 |
+
frame_stride: 0
|
| 40 |
+
pair_stride: 1
|
| 41 |
+
pairing_preset: ab_format
|
| 42 |
+
num_loops: 1
|
| 43 |
+
num_images: 4000
|
| 44 |
+
image_shape:
|
| 45 |
+
- 2048
|
| 46 |
+
- 2048
|
| 47 |
+
batches:
|
| 48 |
+
size: 5
|
| 49 |
+
logging:
|
| 50 |
+
file: pypiv.log
|
| 51 |
+
level: INFO
|
| 52 |
+
console: true
|
| 53 |
+
processing:
|
| 54 |
+
backend: cpu
|
| 55 |
+
debug: false
|
| 56 |
+
auto_compute_params: false
|
| 57 |
+
omp_threads: 4
|
| 58 |
+
dask_workers_per_node: 5
|
| 59 |
+
dask_memory_limit: 10GB
|
| 60 |
+
dask_max_in_flight_per_worker: 2
|
| 61 |
+
open_dashboard: false
|
| 62 |
+
dask_nanny: false
|
| 63 |
+
post_processing_workers: 16
|
| 64 |
+
always_batch: true
|
| 65 |
+
instantaneous: true
|
| 66 |
+
ensemble: true
|
| 67 |
+
outlier_detection:
|
| 68 |
+
enabled: true
|
| 69 |
+
methods:
|
| 70 |
+
- threshold: 0.25
|
| 71 |
+
type: peak_mag
|
| 72 |
+
- type: median_2d
|
| 73 |
+
epsilon: 0.1
|
| 74 |
+
threshold: 2
|
| 75 |
+
infilling:
|
| 76 |
+
mid_pass:
|
| 77 |
+
method: nearest
|
| 78 |
+
parameters: {}
|
| 79 |
+
final_pass:
|
| 80 |
+
enabled: true
|
| 81 |
+
method: biharmonic
|
| 82 |
+
parameters: {}
|
| 83 |
+
ensemble_outlier_detection:
|
| 84 |
+
enabled: true
|
| 85 |
+
methods:
|
| 86 |
+
- type: median_2d
|
| 87 |
+
epsilon: 0.1
|
| 88 |
+
threshold: 2
|
| 89 |
+
size: 5
|
| 90 |
+
ensemble_infilling:
|
| 91 |
+
mid_pass:
|
| 92 |
+
method: biharmonic
|
| 93 |
+
parameters: {}
|
| 94 |
+
final_pass:
|
| 95 |
+
enabled: true
|
| 96 |
+
method: biharmonic
|
| 97 |
+
parameters: {}
|
| 98 |
+
plots:
|
| 99 |
+
save_extension: .png
|
| 100 |
+
save_pickle: true
|
| 101 |
+
fontsize: 14
|
| 102 |
+
title_fontsize: 16
|
| 103 |
+
video:
|
| 104 |
+
base_path_idx: 0
|
| 105 |
+
camera: 1
|
| 106 |
+
data_source: stereo
|
| 107 |
+
variable: mag
|
| 108 |
+
run: 3
|
| 109 |
+
piv_type: instantaneous
|
| 110 |
+
cmap: default
|
| 111 |
+
lower: ''
|
| 112 |
+
upper: ''
|
| 113 |
+
fps: 30
|
| 114 |
+
crf: 15
|
| 115 |
+
resolution: 4k
|
| 116 |
+
source_endpoint: regular
|
| 117 |
+
statistics:
|
| 118 |
+
enabled_methods:
|
| 119 |
+
inst_vorticity: false
|
| 120 |
+
gamma2: false
|
| 121 |
+
inst_divergence: false
|
| 122 |
+
mean_velocity: true
|
| 123 |
+
vorticity: false
|
| 124 |
+
mean_vorticity: false
|
| 125 |
+
tke: false
|
| 126 |
+
inst_gamma: false
|
| 127 |
+
mean_tke: false
|
| 128 |
+
correlation_quality: true
|
| 129 |
+
inst_stresses: false
|
| 130 |
+
divergence: false
|
| 131 |
+
inst_velocity: false
|
| 132 |
+
gamma1: false
|
| 133 |
+
mean_stresses: true
|
| 134 |
+
mean_divergence: false
|
| 135 |
+
fluctuating_velocity: false
|
| 136 |
+
gamma_radius: 4
|
| 137 |
+
save_figures: true
|
| 138 |
+
type_name: instantaneous
|
| 139 |
+
source_endpoint: regular
|
| 140 |
+
instantaneous_piv:
|
| 141 |
+
window_size:
|
| 142 |
+
- - 64
|
| 143 |
+
- 64
|
| 144 |
+
- - 32
|
| 145 |
+
- 32
|
| 146 |
+
- - 16
|
| 147 |
+
- 16
|
| 148 |
+
overlap:
|
| 149 |
+
- 50
|
| 150 |
+
- 50
|
| 151 |
+
- 50
|
| 152 |
+
runs:
|
| 153 |
+
- 3
|
| 154 |
+
time_resolved: false
|
| 155 |
+
window_type: gaussian
|
| 156 |
+
num_peaks: 1
|
| 157 |
+
peak_finder: gauss6
|
| 158 |
+
secondary_peak: false
|
| 159 |
+
predictor_smoothing: false
|
| 160 |
+
save_mode: full
|
| 161 |
+
save_compression: false
|
| 162 |
+
image_warp_interpolation: lanczos
|
| 163 |
+
dump_correlation_planes: false
|
| 164 |
+
ensemble_piv:
|
| 165 |
+
fit_method: kspace
|
| 166 |
+
kspace_shape: kx4 # LOCKED: synthetic fitter shape
|
| 167 |
+
kspace_floor: coloured
|
| 168 |
+
skip_background_subtraction: false
|
| 169 |
+
gradient_correction: true
|
| 170 |
+
persist_images: false
|
| 171 |
+
predictor_smoothing: false
|
| 172 |
+
image_warp_interpolation: lanczos
|
| 173 |
+
mask_center_pixel: true
|
| 174 |
+
background_subtraction_method: correlation+dc_zero
|
| 175 |
+
window_size:
|
| 176 |
+
- - 64
|
| 177 |
+
- 64
|
| 178 |
+
- - 32
|
| 179 |
+
- 32
|
| 180 |
+
- - 8
|
| 181 |
+
- 8
|
| 182 |
+
overlap:
|
| 183 |
+
- 50
|
| 184 |
+
- 50
|
| 185 |
+
- 50
|
| 186 |
+
type:
|
| 187 |
+
- std
|
| 188 |
+
- std
|
| 189 |
+
- single
|
| 190 |
+
runs:
|
| 191 |
+
- 1
|
| 192 |
+
- 2
|
| 193 |
+
- 3
|
| 194 |
+
store_planes: true
|
| 195 |
+
save_diagnostics: true
|
| 196 |
+
sum_window:
|
| 197 |
+
- 32
|
| 198 |
+
- 32
|
| 199 |
+
sum_fitting_window_enabled: true
|
| 200 |
+
sum_fitting_window:
|
| 201 |
+
- 16
|
| 202 |
+
- 16
|
| 203 |
+
resume_from_pass: 0
|
| 204 |
+
window_type: square
|
| 205 |
+
predictor_boundary_conditions: []
|
| 206 |
+
per_pair_normalization: false
|
| 207 |
+
predictor_rounding: false
|
| 208 |
+
envelope_divide: false # LOCKED: true corrupts uu+ at 8x8
|
| 209 |
+
calibration:
|
| 210 |
+
calibration_sources:
|
| 211 |
+
- C:/EDIT_ME/TurbulentChannel/calibration/planar
|
| 212 |
+
source: C:/EDIT_ME/TurbulentChannel/calibration/planar
|
| 213 |
+
source_idx: 0
|
| 214 |
+
active: charuco
|
| 215 |
+
filters: []
|
| 216 |
+
masking:
|
| 217 |
+
enabled: false
|
| 218 |
+
mask_file_pattern: mask_Cam%d.mat
|
| 219 |
+
mask_threshold: 0.01
|
| 220 |
+
mode: rectangular
|
| 221 |
+
rectangular:
|
| 222 |
+
top: 0
|
| 223 |
+
bottom: 0
|
| 224 |
+
left: 0
|
| 225 |
+
right: 0
|
| 226 |
+
merging:
|
| 227 |
+
type_name: instantaneous
|
| 228 |
+
base_path_idx: 0
|
| 229 |
+
cameras: null
|
| 230 |
+
transforms:
|
| 231 |
+
base_path_idx: 0
|
| 232 |
+
type_name: instantaneous
|
| 233 |
+
cameras:
|
| 234 |
+
1:
|
| 235 |
+
operations: []
|
| 236 |
+
source_endpoint: regular
|
|
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# =============================================================================
|
| 2 |
+
# PIVtools config -- SYNTHETIC PLANAR, NOISY (Case B), ENSEMBLE pipeline only
|
| 3 |
+
# Reproduces: ensemble 64x64 -> 32x32 -> 8x8 single-mode vs 32x32 sum windows
|
| 4 |
+
# The noisy case needs DIFFERENT preprocessing per pipeline, so it ships as TWO
|
| 5 |
+
# configs. Run from this one:
|
| 6 |
+
# pivtools-cli ensemble
|
| 7 |
+
# pivtools-cli apply-calibration --all-paths --type-name ensemble
|
| 8 |
+
# (run the instantaneous from planar_noisy_instantaneous.yaml in its own directory)
|
| 9 |
+
# -----------------------------------------------------------------------------
|
| 10 |
+
# EDIT BEFORE RUNNING (search for EDIT_ME):
|
| 11 |
+
# paths.source_paths -> your download of TurbulentChannel/planar_noisy
|
| 12 |
+
# paths.base_paths -> any writable output folder (SAME folder in
|
| 13 |
+
# both planar_noisy configs -- outputs merge)
|
| 14 |
+
# calibration.calibration_sources + calibration.source
|
| 15 |
+
# -> your download of TurbulentChannel/calibration/planar
|
| 16 |
+
# DO NOT CHANGE:
|
| 17 |
+
# filters: [] the ensemble runs on RAW images (verified: the
|
| 18 |
+
# published run used no preprocessing; adding
|
| 19 |
+
# ssmin corrupts the ensemble stresses)
|
| 20 |
+
# ensemble_piv.envelope_divide: false, kspace_shape: kx4, kspace_floor: coloured
|
| 21 |
+
# The ChArUco calibration sidecar carries dt = 0.0057553 s.
|
| 22 |
+
# =============================================================================
|
| 23 |
+
paths:
|
| 24 |
+
base_paths:
|
| 25 |
+
- C:/EDIT_ME/Results/planar_noisy
|
| 26 |
+
source_paths:
|
| 27 |
+
- C:/EDIT_ME/TurbulentChannel/planar_noisy
|
| 28 |
+
active_paths:
|
| 29 |
+
- 0
|
| 30 |
+
camera_numbers:
|
| 31 |
+
- 1
|
| 32 |
+
camera_count: 1
|
| 33 |
+
camera_subfolders: []
|
| 34 |
+
images:
|
| 35 |
+
image_format:
|
| 36 |
+
- B%05d_A.tif
|
| 37 |
+
- B%05d_B.tif
|
| 38 |
+
vector_format:
|
| 39 |
+
- '%05d.mat'
|
| 40 |
+
dtype: float32
|
| 41 |
+
image_type: standard
|
| 42 |
+
use_camera_subfolders: false
|
| 43 |
+
start_index: 1
|
| 44 |
+
frame_stride: 0
|
| 45 |
+
pair_stride: 1
|
| 46 |
+
pairing_preset: ab_format
|
| 47 |
+
num_loops: 1
|
| 48 |
+
num_images: 4000
|
| 49 |
+
image_shape:
|
| 50 |
+
- 2048
|
| 51 |
+
- 2048
|
| 52 |
+
batches:
|
| 53 |
+
size: 5
|
| 54 |
+
logging:
|
| 55 |
+
file: pypiv.log
|
| 56 |
+
level: INFO
|
| 57 |
+
console: true
|
| 58 |
+
processing:
|
| 59 |
+
backend: cpu
|
| 60 |
+
debug: false
|
| 61 |
+
auto_compute_params: false
|
| 62 |
+
omp_threads: 4
|
| 63 |
+
dask_workers_per_node: 5
|
| 64 |
+
dask_memory_limit: 10GB
|
| 65 |
+
dask_max_in_flight_per_worker: 2
|
| 66 |
+
open_dashboard: false
|
| 67 |
+
dask_nanny: false
|
| 68 |
+
post_processing_workers: 16
|
| 69 |
+
always_batch: true
|
| 70 |
+
instantaneous: false
|
| 71 |
+
ensemble: true
|
| 72 |
+
outlier_detection:
|
| 73 |
+
enabled: true
|
| 74 |
+
methods:
|
| 75 |
+
- threshold: 0.25
|
| 76 |
+
type: peak_mag
|
| 77 |
+
- type: median_2d
|
| 78 |
+
epsilon: 0.1
|
| 79 |
+
threshold: 2
|
| 80 |
+
infilling:
|
| 81 |
+
mid_pass:
|
| 82 |
+
method: nearest
|
| 83 |
+
parameters: {}
|
| 84 |
+
final_pass:
|
| 85 |
+
enabled: true
|
| 86 |
+
method: biharmonic
|
| 87 |
+
parameters: {}
|
| 88 |
+
ensemble_outlier_detection:
|
| 89 |
+
enabled: true
|
| 90 |
+
methods:
|
| 91 |
+
- type: median_2d
|
| 92 |
+
epsilon: 0.1
|
| 93 |
+
threshold: 2
|
| 94 |
+
size: 5
|
| 95 |
+
ensemble_infilling:
|
| 96 |
+
mid_pass:
|
| 97 |
+
method: biharmonic
|
| 98 |
+
parameters: {}
|
| 99 |
+
final_pass:
|
| 100 |
+
enabled: true
|
| 101 |
+
method: biharmonic
|
| 102 |
+
parameters: {}
|
| 103 |
+
plots:
|
| 104 |
+
save_extension: .png
|
| 105 |
+
save_pickle: true
|
| 106 |
+
fontsize: 14
|
| 107 |
+
title_fontsize: 16
|
| 108 |
+
video:
|
| 109 |
+
base_path_idx: 0
|
| 110 |
+
camera: 1
|
| 111 |
+
data_source: stereo
|
| 112 |
+
variable: mag
|
| 113 |
+
run: 3
|
| 114 |
+
piv_type: instantaneous
|
| 115 |
+
cmap: default
|
| 116 |
+
lower: ''
|
| 117 |
+
upper: ''
|
| 118 |
+
fps: 30
|
| 119 |
+
crf: 15
|
| 120 |
+
resolution: 4k
|
| 121 |
+
source_endpoint: regular
|
| 122 |
+
statistics:
|
| 123 |
+
enabled_methods:
|
| 124 |
+
inst_vorticity: false
|
| 125 |
+
gamma2: false
|
| 126 |
+
inst_divergence: false
|
| 127 |
+
mean_velocity: true
|
| 128 |
+
vorticity: false
|
| 129 |
+
mean_vorticity: false
|
| 130 |
+
tke: false
|
| 131 |
+
inst_gamma: false
|
| 132 |
+
mean_tke: false
|
| 133 |
+
correlation_quality: true
|
| 134 |
+
inst_stresses: false
|
| 135 |
+
divergence: false
|
| 136 |
+
inst_velocity: false
|
| 137 |
+
gamma1: false
|
| 138 |
+
mean_stresses: true
|
| 139 |
+
mean_divergence: false
|
| 140 |
+
fluctuating_velocity: false
|
| 141 |
+
gamma_radius: 4
|
| 142 |
+
save_figures: true
|
| 143 |
+
type_name: instantaneous
|
| 144 |
+
source_endpoint: regular
|
| 145 |
+
instantaneous_piv:
|
| 146 |
+
window_size:
|
| 147 |
+
- - 64
|
| 148 |
+
- 64
|
| 149 |
+
- - 32
|
| 150 |
+
- 32
|
| 151 |
+
- - 16
|
| 152 |
+
- 16
|
| 153 |
+
overlap:
|
| 154 |
+
- 50
|
| 155 |
+
- 50
|
| 156 |
+
- 50
|
| 157 |
+
runs:
|
| 158 |
+
- 2
|
| 159 |
+
- 3
|
| 160 |
+
time_resolved: false
|
| 161 |
+
window_type: gaussian
|
| 162 |
+
num_peaks: 1
|
| 163 |
+
peak_finder: gauss6
|
| 164 |
+
secondary_peak: false
|
| 165 |
+
predictor_smoothing: false
|
| 166 |
+
save_mode: full
|
| 167 |
+
save_compression: false
|
| 168 |
+
image_warp_interpolation: lanczos
|
| 169 |
+
dump_correlation_planes: false
|
| 170 |
+
ensemble_piv:
|
| 171 |
+
fit_method: kspace
|
| 172 |
+
kspace_shape: kx4
|
| 173 |
+
kspace_floor: coloured
|
| 174 |
+
skip_background_subtraction: false
|
| 175 |
+
gradient_correction: true
|
| 176 |
+
persist_images: false
|
| 177 |
+
predictor_smoothing: false
|
| 178 |
+
image_warp_interpolation: lanczos
|
| 179 |
+
mask_center_pixel: true
|
| 180 |
+
background_subtraction_method: correlation+dc_zero
|
| 181 |
+
window_size:
|
| 182 |
+
- - 64
|
| 183 |
+
- 64
|
| 184 |
+
- - 32
|
| 185 |
+
- 32
|
| 186 |
+
- - 8
|
| 187 |
+
- 8
|
| 188 |
+
overlap:
|
| 189 |
+
- 50
|
| 190 |
+
- 50
|
| 191 |
+
- 50
|
| 192 |
+
type:
|
| 193 |
+
- std
|
| 194 |
+
- std
|
| 195 |
+
- single
|
| 196 |
+
runs:
|
| 197 |
+
- 1
|
| 198 |
+
- 2
|
| 199 |
+
- 3
|
| 200 |
+
store_planes: true
|
| 201 |
+
save_diagnostics: true
|
| 202 |
+
sum_window:
|
| 203 |
+
- 32
|
| 204 |
+
- 32
|
| 205 |
+
sum_fitting_window_enabled: true
|
| 206 |
+
sum_fitting_window:
|
| 207 |
+
- 16
|
| 208 |
+
- 16
|
| 209 |
+
resume_from_pass: 0
|
| 210 |
+
window_type: square
|
| 211 |
+
predictor_boundary_conditions: []
|
| 212 |
+
per_pair_normalization: false
|
| 213 |
+
predictor_rounding: false
|
| 214 |
+
envelope_divide: false
|
| 215 |
+
calibration:
|
| 216 |
+
calibration_sources:
|
| 217 |
+
- C:/EDIT_ME/TurbulentChannel/calibration/planar
|
| 218 |
+
source: C:/EDIT_ME/TurbulentChannel/calibration/planar
|
| 219 |
+
source_idx: 0
|
| 220 |
+
active: charuco
|
| 221 |
+
filters: []
|
| 222 |
+
masking:
|
| 223 |
+
enabled: false
|
| 224 |
+
mask_file_pattern: mask_Cam%d.mat
|
| 225 |
+
mask_threshold: 0.01
|
| 226 |
+
mode: rectangular
|
| 227 |
+
rectangular:
|
| 228 |
+
top: 0
|
| 229 |
+
bottom: 0
|
| 230 |
+
left: 0
|
| 231 |
+
right: 0
|
| 232 |
+
merging:
|
| 233 |
+
type_name: instantaneous
|
| 234 |
+
base_path_idx: 0
|
| 235 |
+
cameras: null
|
| 236 |
+
transforms:
|
| 237 |
+
base_path_idx: 0
|
| 238 |
+
type_name: instantaneous
|
| 239 |
+
cameras:
|
| 240 |
+
1:
|
| 241 |
+
operations: []
|
| 242 |
+
source_endpoint: regular
|
|
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# =============================================================================
|
| 2 |
+
# PIVtools config -- SYNTHETIC PLANAR, NOISY (Case B), INSTANTANEOUS pipeline only
|
| 3 |
+
# Reproduces: instantaneous 64x64 -> 32x32 (stats on the 32x32 pass, ssmin preproc)
|
| 4 |
+
# The noisy case needs DIFFERENT preprocessing per pipeline, so it ships as TWO
|
| 5 |
+
# configs. Run from this one:
|
| 6 |
+
# pivtools-cli instantaneous
|
| 7 |
+
# pivtools-cli apply-calibration --all-paths --type-name instantaneous
|
| 8 |
+
# pivtools-cli statistics
|
| 9 |
+
# (run the ensemble from planar_noisy_ensemble.yaml in its own directory)
|
| 10 |
+
# -----------------------------------------------------------------------------
|
| 11 |
+
# EDIT BEFORE RUNNING (search for EDIT_ME):
|
| 12 |
+
# paths.source_paths -> your download of TurbulentChannel/planar_noisy
|
| 13 |
+
# paths.base_paths -> any writable output folder (SAME folder in
|
| 14 |
+
# both planar_noisy configs -- outputs merge)
|
| 15 |
+
# calibration.calibration_sources + calibration.source
|
| 16 |
+
# -> your download of TurbulentChannel/calibration/planar
|
| 17 |
+
# DO NOT CHANGE:
|
| 18 |
+
# filters: ssmin 7x7 (instantaneous preprocessing for the noisy case)
|
| 19 |
+
# The ChArUco calibration sidecar carries dt = 0.0057553 s.
|
| 20 |
+
# =============================================================================
|
| 21 |
+
paths:
|
| 22 |
+
base_paths:
|
| 23 |
+
- C:/EDIT_ME/Results/planar_noisy
|
| 24 |
+
source_paths:
|
| 25 |
+
- C:/EDIT_ME/TurbulentChannel/planar_noisy
|
| 26 |
+
active_paths:
|
| 27 |
+
- 0
|
| 28 |
+
camera_numbers:
|
| 29 |
+
- 1
|
| 30 |
+
camera_count: 1
|
| 31 |
+
camera_subfolders: []
|
| 32 |
+
images:
|
| 33 |
+
image_format:
|
| 34 |
+
- B%05d_A.tif
|
| 35 |
+
- B%05d_B.tif
|
| 36 |
+
vector_format:
|
| 37 |
+
- '%05d.mat'
|
| 38 |
+
dtype: float32
|
| 39 |
+
image_type: standard
|
| 40 |
+
use_camera_subfolders: false
|
| 41 |
+
start_index: 1
|
| 42 |
+
frame_stride: 0
|
| 43 |
+
pair_stride: 1
|
| 44 |
+
pairing_preset: ab_format
|
| 45 |
+
num_loops: 1
|
| 46 |
+
num_images: 4000
|
| 47 |
+
image_shape:
|
| 48 |
+
- 2048
|
| 49 |
+
- 2048
|
| 50 |
+
batches:
|
| 51 |
+
size: 5
|
| 52 |
+
logging:
|
| 53 |
+
file: pypiv.log
|
| 54 |
+
level: INFO
|
| 55 |
+
console: true
|
| 56 |
+
processing:
|
| 57 |
+
backend: cpu
|
| 58 |
+
debug: false
|
| 59 |
+
auto_compute_params: false
|
| 60 |
+
omp_threads: 4
|
| 61 |
+
dask_workers_per_node: 5
|
| 62 |
+
dask_memory_limit: 10GB
|
| 63 |
+
dask_max_in_flight_per_worker: 2
|
| 64 |
+
open_dashboard: false
|
| 65 |
+
dask_nanny: false
|
| 66 |
+
post_processing_workers: 16
|
| 67 |
+
always_batch: true
|
| 68 |
+
instantaneous: true
|
| 69 |
+
ensemble: false
|
| 70 |
+
outlier_detection:
|
| 71 |
+
enabled: true
|
| 72 |
+
methods:
|
| 73 |
+
- threshold: 0.25
|
| 74 |
+
type: peak_mag
|
| 75 |
+
- type: median_2d
|
| 76 |
+
epsilon: 0.1
|
| 77 |
+
threshold: 2
|
| 78 |
+
infilling:
|
| 79 |
+
mid_pass:
|
| 80 |
+
method: nearest
|
| 81 |
+
parameters: {}
|
| 82 |
+
final_pass:
|
| 83 |
+
enabled: true
|
| 84 |
+
method: biharmonic
|
| 85 |
+
parameters: {}
|
| 86 |
+
plots:
|
| 87 |
+
save_extension: .png
|
| 88 |
+
save_pickle: true
|
| 89 |
+
fontsize: 14
|
| 90 |
+
title_fontsize: 16
|
| 91 |
+
video:
|
| 92 |
+
base_path_idx: 0
|
| 93 |
+
camera: 1
|
| 94 |
+
data_source: stereo
|
| 95 |
+
variable: mag
|
| 96 |
+
run: 3
|
| 97 |
+
piv_type: instantaneous
|
| 98 |
+
cmap: default
|
| 99 |
+
lower: ''
|
| 100 |
+
upper: ''
|
| 101 |
+
fps: 30
|
| 102 |
+
crf: 15
|
| 103 |
+
resolution: 4k
|
| 104 |
+
source_endpoint: regular
|
| 105 |
+
statistics:
|
| 106 |
+
enabled_methods:
|
| 107 |
+
inst_vorticity: false
|
| 108 |
+
gamma2: false
|
| 109 |
+
inst_divergence: false
|
| 110 |
+
mean_velocity: true
|
| 111 |
+
vorticity: false
|
| 112 |
+
mean_vorticity: false
|
| 113 |
+
tke: false
|
| 114 |
+
inst_gamma: false
|
| 115 |
+
mean_tke: false
|
| 116 |
+
correlation_quality: true
|
| 117 |
+
inst_stresses: false
|
| 118 |
+
divergence: false
|
| 119 |
+
inst_velocity: false
|
| 120 |
+
gamma1: false
|
| 121 |
+
mean_stresses: true
|
| 122 |
+
mean_divergence: false
|
| 123 |
+
fluctuating_velocity: false
|
| 124 |
+
gamma_radius: 4
|
| 125 |
+
save_figures: true
|
| 126 |
+
type_name: instantaneous
|
| 127 |
+
source_endpoint: regular
|
| 128 |
+
instantaneous_piv:
|
| 129 |
+
window_size:
|
| 130 |
+
- - 64
|
| 131 |
+
- 64
|
| 132 |
+
- - 32
|
| 133 |
+
- 32
|
| 134 |
+
overlap:
|
| 135 |
+
- 50
|
| 136 |
+
- 50
|
| 137 |
+
runs:
|
| 138 |
+
- 2
|
| 139 |
+
time_resolved: false
|
| 140 |
+
window_type: gaussian
|
| 141 |
+
num_peaks: 1
|
| 142 |
+
peak_finder: gauss6
|
| 143 |
+
secondary_peak: false
|
| 144 |
+
predictor_smoothing: false
|
| 145 |
+
save_mode: full
|
| 146 |
+
save_compression: false
|
| 147 |
+
image_warp_interpolation: lanczos
|
| 148 |
+
dump_correlation_planes: false
|
| 149 |
+
calibration:
|
| 150 |
+
calibration_sources:
|
| 151 |
+
- C:/EDIT_ME/TurbulentChannel/calibration/planar
|
| 152 |
+
source: C:/EDIT_ME/TurbulentChannel/calibration/planar
|
| 153 |
+
source_idx: 0
|
| 154 |
+
active: charuco
|
| 155 |
+
filters:
|
| 156 |
+
- type: ssmin
|
| 157 |
+
size:
|
| 158 |
+
- 7
|
| 159 |
+
- 7
|
| 160 |
+
masking:
|
| 161 |
+
enabled: false
|
| 162 |
+
mask_file_pattern: mask_Cam%d.mat
|
| 163 |
+
mask_threshold: 0.01
|
| 164 |
+
mode: rectangular
|
| 165 |
+
rectangular:
|
| 166 |
+
top: 0
|
| 167 |
+
bottom: 0
|
| 168 |
+
left: 0
|
| 169 |
+
right: 0
|
| 170 |
+
merging:
|
| 171 |
+
type_name: instantaneous
|
| 172 |
+
base_path_idx: 0
|
| 173 |
+
cameras: null
|
| 174 |
+
transforms:
|
| 175 |
+
base_path_idx: 0
|
| 176 |
+
type_name: instantaneous
|
| 177 |
+
cameras:
|
| 178 |
+
1:
|
| 179 |
+
operations: []
|
| 180 |
+
source_endpoint: regular
|
|
File without changes
|
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# =============================================================================
|
| 2 |
+
# PIVtools config -- SYNTHETIC STEREO, CLEAN (paper Case A, stereo arm)
|
| 3 |
+
# Reproduces: instantaneous stereo 64x64 -> 32x32 -> 16x16 (stats on 16x16 pass).
|
| 4 |
+
# The paper uses NO stereo ensemble -- this config is instantaneous-only.
|
| 5 |
+
# -----------------------------------------------------------------------------
|
| 6 |
+
# EDIT BEFORE RUNNING (search for EDIT_ME):
|
| 7 |
+
# paths.source_paths -> your download of TurbulentChannel/stereo_clean
|
| 8 |
+
# (camera1/ + camera2/ subfolders live inside it)
|
| 9 |
+
# paths.base_paths -> any writable output folder
|
| 10 |
+
# calibration.calibration_sources
|
| 11 |
+
# -> your download of TurbulentChannel/calibration/stereo
|
| 12 |
+
# DO NOT CHANGE: stereo ChArUco calibration (active: stereo_charuco); the
|
| 13 |
+
# calibration sidecar carries dt = 0.0057553 s -- no dt entry here.
|
| 14 |
+
# Run order (see README): instantaneous PIV -> apply calibration
|
| 15 |
+
# -> statistics (source_endpoint stereo) -> figure scripts.
|
| 16 |
+
# =============================================================================
|
| 17 |
+
paths:
|
| 18 |
+
base_paths:
|
| 19 |
+
- C:/EDIT_ME/Results/stereo_clean
|
| 20 |
+
source_paths:
|
| 21 |
+
- C:/EDIT_ME/TurbulentChannel/stereo_clean
|
| 22 |
+
active_paths:
|
| 23 |
+
- 0
|
| 24 |
+
camera_numbers:
|
| 25 |
+
- 1
|
| 26 |
+
- 2
|
| 27 |
+
camera_count: 2
|
| 28 |
+
camera_subfolders: []
|
| 29 |
+
images:
|
| 30 |
+
image_format:
|
| 31 |
+
- B%05d_A.tif
|
| 32 |
+
- B%05d_B.tif
|
| 33 |
+
vector_format:
|
| 34 |
+
- '%05d.mat'
|
| 35 |
+
dtype: float32
|
| 36 |
+
image_type: standard
|
| 37 |
+
use_camera_subfolders: false
|
| 38 |
+
start_index: 1
|
| 39 |
+
frame_stride: 0
|
| 40 |
+
pair_stride: 1
|
| 41 |
+
pairing_preset: ab_format
|
| 42 |
+
num_loops: 1
|
| 43 |
+
num_images: 4000
|
| 44 |
+
image_shape:
|
| 45 |
+
- 2080
|
| 46 |
+
- 1440
|
| 47 |
+
batches:
|
| 48 |
+
size: 5
|
| 49 |
+
logging:
|
| 50 |
+
file: pypiv.log
|
| 51 |
+
level: INFO
|
| 52 |
+
console: true
|
| 53 |
+
processing:
|
| 54 |
+
backend: cpu
|
| 55 |
+
debug: false
|
| 56 |
+
auto_compute_params: false
|
| 57 |
+
omp_threads: 4
|
| 58 |
+
dask_workers_per_node: 5
|
| 59 |
+
dask_memory_limit: 10GB
|
| 60 |
+
dask_max_in_flight_per_worker: 2
|
| 61 |
+
open_dashboard: false
|
| 62 |
+
dask_nanny: false
|
| 63 |
+
post_processing_workers: 16
|
| 64 |
+
always_batch: true
|
| 65 |
+
instantaneous: true
|
| 66 |
+
ensemble: false
|
| 67 |
+
outlier_detection:
|
| 68 |
+
enabled: true
|
| 69 |
+
methods:
|
| 70 |
+
- threshold: 0.25
|
| 71 |
+
type: peak_mag
|
| 72 |
+
- type: median_2d
|
| 73 |
+
epsilon: 0.1
|
| 74 |
+
threshold: 3
|
| 75 |
+
infilling:
|
| 76 |
+
mid_pass:
|
| 77 |
+
method: nearest
|
| 78 |
+
parameters: {}
|
| 79 |
+
final_pass:
|
| 80 |
+
enabled: true
|
| 81 |
+
method: biharmonic
|
| 82 |
+
parameters: {}
|
| 83 |
+
plots:
|
| 84 |
+
save_extension: .png
|
| 85 |
+
save_pickle: true
|
| 86 |
+
fontsize: 14
|
| 87 |
+
title_fontsize: 16
|
| 88 |
+
video:
|
| 89 |
+
base_path_idx: 0
|
| 90 |
+
camera: 1
|
| 91 |
+
data_source: stereo
|
| 92 |
+
variable: mag
|
| 93 |
+
run: 3
|
| 94 |
+
piv_type: instantaneous
|
| 95 |
+
cmap: default
|
| 96 |
+
lower: ''
|
| 97 |
+
upper: ''
|
| 98 |
+
fps: 30
|
| 99 |
+
crf: 15
|
| 100 |
+
resolution: 4k
|
| 101 |
+
source_endpoint: stereo
|
| 102 |
+
statistics:
|
| 103 |
+
enabled_methods:
|
| 104 |
+
vorticity: false
|
| 105 |
+
gamma2: false
|
| 106 |
+
mean_divergence: false
|
| 107 |
+
inst_vorticity: false
|
| 108 |
+
fluctuating_velocity: false
|
| 109 |
+
mean_tke: false
|
| 110 |
+
inst_divergence: false
|
| 111 |
+
mean_velocity: true
|
| 112 |
+
inst_velocity: false
|
| 113 |
+
inst_gamma: false
|
| 114 |
+
mean_vorticity: false
|
| 115 |
+
inst_stresses: false
|
| 116 |
+
mean_stresses: true
|
| 117 |
+
tke: false
|
| 118 |
+
divergence: false
|
| 119 |
+
gamma1: false
|
| 120 |
+
correlation_quality: true
|
| 121 |
+
gamma_radius: 4
|
| 122 |
+
save_figures: true
|
| 123 |
+
type_name: instantaneous
|
| 124 |
+
source_endpoint: stereo
|
| 125 |
+
instantaneous_piv:
|
| 126 |
+
window_size:
|
| 127 |
+
- - 64
|
| 128 |
+
- 64
|
| 129 |
+
- - 32
|
| 130 |
+
- 32
|
| 131 |
+
- - 16
|
| 132 |
+
- 16
|
| 133 |
+
overlap:
|
| 134 |
+
- 50
|
| 135 |
+
- 50
|
| 136 |
+
- 50
|
| 137 |
+
runs:
|
| 138 |
+
- 1
|
| 139 |
+
- 2
|
| 140 |
+
- 3
|
| 141 |
+
time_resolved: false
|
| 142 |
+
window_type: gaussian
|
| 143 |
+
num_peaks: 1
|
| 144 |
+
peak_finder: gauss6
|
| 145 |
+
secondary_peak: false
|
| 146 |
+
predictor_smoothing: false
|
| 147 |
+
save_mode: full
|
| 148 |
+
save_compression: false
|
| 149 |
+
image_warp_interpolation: lanczos
|
| 150 |
+
dump_correlation_planes: false
|
| 151 |
+
calibration:
|
| 152 |
+
calibration_sources:
|
| 153 |
+
- C:/EDIT_ME/TurbulentChannel/calibration/stereo
|
| 154 |
+
active: stereo_charuco
|
| 155 |
+
filters: []
|
| 156 |
+
masking:
|
| 157 |
+
enabled: false
|
| 158 |
+
mask_file_pattern: mask_Cam%d.mat
|
| 159 |
+
mask_threshold: 0.01
|
| 160 |
+
mode: rectangular
|
| 161 |
+
rectangular:
|
| 162 |
+
top: 0
|
| 163 |
+
bottom: 0
|
| 164 |
+
left: 0
|
| 165 |
+
right: 0
|
| 166 |
+
merging:
|
| 167 |
+
type_name: instantaneous
|
| 168 |
+
base_path_idx: 0
|
| 169 |
+
cameras: null
|
| 170 |
+
transforms:
|
| 171 |
+
base_path_idx: 0
|
| 172 |
+
type_name: instantaneous
|
| 173 |
+
cameras:
|
| 174 |
+
1:
|
| 175 |
+
operations: []
|
| 176 |
+
source_endpoint: stereo
|
|
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# =============================================================================
|
| 2 |
+
# PIVtools config -- SYNTHETIC STEREO, NOISY (paper Case B, stereo arm)
|
| 3 |
+
# Reproduces: instantaneous stereo 64x64 -> 32x32 (stats on 32x32 pass, ssmin).
|
| 4 |
+
# The paper uses NO stereo ensemble -- this config is instantaneous-only.
|
| 5 |
+
# -----------------------------------------------------------------------------
|
| 6 |
+
# EDIT BEFORE RUNNING (search for EDIT_ME):
|
| 7 |
+
# paths.source_paths -> your download of TurbulentChannel/stereo_noisy
|
| 8 |
+
# (camera1/ + camera2/ subfolders live inside it)
|
| 9 |
+
# paths.base_paths -> any writable output folder
|
| 10 |
+
# calibration.calibration_sources
|
| 11 |
+
# -> your download of TurbulentChannel/calibration/stereo
|
| 12 |
+
# DO NOT CHANGE:
|
| 13 |
+
# filters: ssmin 7x7 (the only preprocessing for the noisy case)
|
| 14 |
+
# stereo ChArUco calibration (active: stereo_charuco); the calibration sidecar
|
| 15 |
+
# carries dt = 0.0057553 s -- no dt entry here.
|
| 16 |
+
# Run order (see README): instantaneous PIV -> apply calibration
|
| 17 |
+
# -> statistics (source_endpoint stereo) -> figure scripts.
|
| 18 |
+
# =============================================================================
|
| 19 |
+
paths:
|
| 20 |
+
base_paths:
|
| 21 |
+
- C:/EDIT_ME/Results/stereo_noisy
|
| 22 |
+
source_paths:
|
| 23 |
+
- C:/EDIT_ME/TurbulentChannel/stereo_noisy
|
| 24 |
+
active_paths:
|
| 25 |
+
- 0
|
| 26 |
+
camera_numbers:
|
| 27 |
+
- 1
|
| 28 |
+
- 2
|
| 29 |
+
camera_count: 2
|
| 30 |
+
camera_subfolders: []
|
| 31 |
+
images:
|
| 32 |
+
image_format:
|
| 33 |
+
- B%05d_A.tif
|
| 34 |
+
- B%05d_B.tif
|
| 35 |
+
vector_format:
|
| 36 |
+
- '%05d.mat'
|
| 37 |
+
dtype: float32
|
| 38 |
+
image_type: standard
|
| 39 |
+
use_camera_subfolders: false
|
| 40 |
+
start_index: 1
|
| 41 |
+
frame_stride: 0
|
| 42 |
+
pair_stride: 1
|
| 43 |
+
pairing_preset: ab_format
|
| 44 |
+
num_loops: 1
|
| 45 |
+
num_images: 4000
|
| 46 |
+
image_shape:
|
| 47 |
+
- 2080
|
| 48 |
+
- 1440
|
| 49 |
+
batches:
|
| 50 |
+
size: 5
|
| 51 |
+
logging:
|
| 52 |
+
file: pypiv.log
|
| 53 |
+
level: INFO
|
| 54 |
+
console: true
|
| 55 |
+
processing:
|
| 56 |
+
backend: cpu
|
| 57 |
+
debug: false
|
| 58 |
+
auto_compute_params: false
|
| 59 |
+
omp_threads: 4
|
| 60 |
+
dask_workers_per_node: 5
|
| 61 |
+
dask_memory_limit: 10GB
|
| 62 |
+
dask_max_in_flight_per_worker: 2
|
| 63 |
+
open_dashboard: false
|
| 64 |
+
dask_nanny: false
|
| 65 |
+
post_processing_workers: 16
|
| 66 |
+
always_batch: true
|
| 67 |
+
instantaneous: true
|
| 68 |
+
ensemble: false
|
| 69 |
+
outlier_detection:
|
| 70 |
+
enabled: true
|
| 71 |
+
methods:
|
| 72 |
+
- threshold: 0.25
|
| 73 |
+
type: peak_mag
|
| 74 |
+
- type: median_2d
|
| 75 |
+
epsilon: 0.1
|
| 76 |
+
threshold: 3
|
| 77 |
+
infilling:
|
| 78 |
+
mid_pass:
|
| 79 |
+
method: nearest
|
| 80 |
+
parameters: {}
|
| 81 |
+
final_pass:
|
| 82 |
+
enabled: true
|
| 83 |
+
method: biharmonic
|
| 84 |
+
parameters: {}
|
| 85 |
+
plots:
|
| 86 |
+
save_extension: .png
|
| 87 |
+
save_pickle: true
|
| 88 |
+
fontsize: 14
|
| 89 |
+
title_fontsize: 16
|
| 90 |
+
video:
|
| 91 |
+
base_path_idx: 0
|
| 92 |
+
camera: 1
|
| 93 |
+
data_source: stereo
|
| 94 |
+
variable: mag
|
| 95 |
+
run: 3
|
| 96 |
+
piv_type: instantaneous
|
| 97 |
+
cmap: default
|
| 98 |
+
lower: ''
|
| 99 |
+
upper: ''
|
| 100 |
+
fps: 30
|
| 101 |
+
crf: 15
|
| 102 |
+
resolution: 4k
|
| 103 |
+
source_endpoint: stereo
|
| 104 |
+
statistics:
|
| 105 |
+
enabled_methods:
|
| 106 |
+
mean_vorticity: false
|
| 107 |
+
mean_stresses: true
|
| 108 |
+
divergence: false
|
| 109 |
+
mean_tke: false
|
| 110 |
+
gamma2: false
|
| 111 |
+
inst_vorticity: false
|
| 112 |
+
inst_divergence: false
|
| 113 |
+
mean_velocity: true
|
| 114 |
+
inst_stresses: false
|
| 115 |
+
inst_velocity: false
|
| 116 |
+
gamma1: false
|
| 117 |
+
mean_divergence: false
|
| 118 |
+
tke: false
|
| 119 |
+
correlation_quality: true
|
| 120 |
+
fluctuating_velocity: false
|
| 121 |
+
inst_gamma: false
|
| 122 |
+
vorticity: false
|
| 123 |
+
gamma_radius: 4
|
| 124 |
+
save_figures: true
|
| 125 |
+
type_name: instantaneous
|
| 126 |
+
source_endpoint: stereo
|
| 127 |
+
instantaneous_piv:
|
| 128 |
+
window_size:
|
| 129 |
+
- - 64
|
| 130 |
+
- 64
|
| 131 |
+
- - 32
|
| 132 |
+
- 32
|
| 133 |
+
overlap:
|
| 134 |
+
- 50
|
| 135 |
+
- 50
|
| 136 |
+
runs:
|
| 137 |
+
- 1
|
| 138 |
+
- 2
|
| 139 |
+
time_resolved: false
|
| 140 |
+
window_type: gaussian
|
| 141 |
+
num_peaks: 1
|
| 142 |
+
peak_finder: gauss6
|
| 143 |
+
secondary_peak: false
|
| 144 |
+
predictor_smoothing: false
|
| 145 |
+
save_mode: full
|
| 146 |
+
save_compression: false
|
| 147 |
+
image_warp_interpolation: lanczos
|
| 148 |
+
dump_correlation_planes: false
|
| 149 |
+
calibration:
|
| 150 |
+
calibration_sources:
|
| 151 |
+
- C:/EDIT_ME/TurbulentChannel/calibration/stereo
|
| 152 |
+
active: stereo_charuco
|
| 153 |
+
filters:
|
| 154 |
+
- type: ssmin
|
| 155 |
+
size:
|
| 156 |
+
- 7
|
| 157 |
+
- 7
|
| 158 |
+
masking:
|
| 159 |
+
enabled: false
|
| 160 |
+
mask_file_pattern: mask_Cam%d.mat
|
| 161 |
+
mask_threshold: 0.01
|
| 162 |
+
mode: rectangular
|
| 163 |
+
rectangular:
|
| 164 |
+
top: 0
|
| 165 |
+
bottom: 0
|
| 166 |
+
left: 0
|
| 167 |
+
right: 0
|
| 168 |
+
merging:
|
| 169 |
+
type_name: instantaneous
|
| 170 |
+
base_path_idx: 0
|
| 171 |
+
cameras: null
|
| 172 |
+
transforms:
|
| 173 |
+
base_path_idx: 0
|
| 174 |
+
type_name: instantaneous
|
| 175 |
+
cameras:
|
| 176 |
+
1:
|
| 177 |
+
operations: []
|
| 178 |
+
source_endpoint: stereo
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ad29f34ece19ee517a0e699d15738725d79012a6e44db444e0e9c417678ff5d
|
| 3 |
+
size 6016
|
|
Binary files a/planar_clean/mask_Cam1.mat and b/planar_clean/mask_Cam1.mat differ
|
|
|
|
Binary file (88.6 kB)
|
|
|
|
Binary file (90.6 kB)
|
|
|
|
Binary file (90.6 kB)
|
|
|
|
Binary file (90.7 kB)
|
|
|
|
Binary file (88.6 kB)
|
|
|
|
Binary file (90.7 kB)
|
|
|
|
Binary file (90.8 kB)
|
|
|
|
Binary file (89.6 kB)
|
|
|
|
Binary file (90.6 kB)
|
|
|
|
Binary file (90.4 kB)
|
|
|
|
Binary file (90.4 kB)
|
|
|
|
Binary file (90.7 kB)
|
|
|
|
Binary file (90.7 kB)
|
|
|
|
Binary file (90.6 kB)
|
|
|
|
Binary file (90.6 kB)
|
|
|
|
Binary file (90.4 kB)
|
|
|
|
Binary file (90.7 kB)
|
|
|
|
Binary file (90.5 kB)
|
|
|
|
Binary file (90.4 kB)
|
|
|
|
Binary file (90.6 kB)
|
|
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b42382b80f7310407a9b6c80b146a95fea73ab63d827abeba834bba24de248c
|
| 3 |
+
size 8160
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ec7f6f17bb2c1641c2f5638de733adfa5f54b63e5493b42dba33533bff4ddc4
|
| 3 |
+
size 585896
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07957a1016be5e4777a1906e9eb8a3f86ee051d468ffea21f1902b769f4863d3
|
| 3 |
+
size 497328
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e98a55ea28eafed0dc2a83273533aa9d249f111c59bc75bf69e648f222c9946
|
| 3 |
+
size 3389733
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28da052479abb23bee9a1190f26d70c8a803c353ba37d7321ed0786883bc3c69
|
| 3 |
+
size 33089626
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f90b3955e44c7a02e7824f496ec43e4fc04401636fcdfa24d01c1192259601a4
|
| 3 |
+
size 5205408
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8de6243760420b3dfbaa76aff7b04f4b299068a7fe2a00d87c6dbad9b239bf02
|
| 3 |
+
size 3389733
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b3a5bc3de5413d0a8a4da3e71be7e1af36d7f9803a2151a429c195e04ee92a1
|
| 3 |
+
size 33658640
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cad256ee5c5b7b5acf560c2e8fafcb1b622e617f11dc7341fcc534d559503e7
|
| 3 |
+
size 1292944
|