Patterns by sensor_name (a property, or a window redrawn from a DIFF image as the device's pattern editor does), re-measured with optical's emulator, camera correction as the cloud's process_shifts (one measurement at a time, or the series), written in the files of data/ (displacement/, camera/, targets.csv; images/, metrics/, weather/ linked to data_diff/), with run.yaml and diagnostics/ beside the stations. configs/cloud.yaml, empty, reproduces data/JUNGFRAU 2026-10-12..16: corr_x/y within 0.03 px, the same rejections, the camera pose within 5e-4 deg; 16 s. configs/jungfrau_example.yaml: PM_G back to 0.7, BL_C's window redrawn. .gitignore: data_diff/, runs/, remeasure/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
665 B
Bash
Executable File
13 lines
665 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Recomputes a configuration into runs/<name>/ (processing/run_config.py), in a throwaway uv environment with what
|
|
# optical's emulator and camera correction need; optical's code from $OPTICAL (default ~/optical). No credentials.
|
|
# processing/run_config.sh <config> [SERIAL...] [--from D] [--to E] [--jobs N]
|
|
# processing/run_config.sh --check
|
|
set -u
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
here=$(cd "$(dirname "$0")" && pwd)
|
|
exec uv run --no-project --quiet --python 3.12 \
|
|
--with numpy --with pandas --with pillow --with pyyaml --with scipy --with scikit-image \
|
|
--with opencv-python-headless \
|
|
python "$here/run_config.py" "$@"
|