Invntr
Source

All instruments

measure

A measured time series (base and response accelerations, e.g. a shaker test) turned into quantities a model can be compared with. random: H1 transmissibility with coherence (Welch, Hann), the relative-motion FRF R = (T - 1)/(-w^2) in mm per m/s^2, its peak, the half-power damping and a single-mode fit of the complex R (f_n, zeta, gain), and the relative displacement in time (RMS, peak, share of time beyond a gap). sweep: the frequency measured from the base signal itself (analytic phase), split up and down at its turning point, in bins a lock-in on the base's phase gives the base, tip and relative fundamentals; the relative displacement amplitude against frequency, each direction's peak and jumps. stepped: levels found from the base's RMS, transients dropped, per level the base RMS and the relative displacement amplitude. Files: frf.csv, sweep.csv or steps.csv, plot.png (Python: NumPy, SciPy, matplotlib).

Field
Measurement and data
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
10 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replaymeasure 0.1.0 · files edb4469db2a3…2529
  1. r0001random, a linear oscillator f_n 13.3 Hz, zeta 0.014, gain 0.93 (exact lsim response to band-limited noise, 100 s at 1024 Hz), 32 s Hann segments: the single-mode fit gives f_n to 1e-3, zeta to 3 % (the Hann main lobe, 0.047 Hz, smooths a 0.37 Hz-wide peak: about +1 % bias, 0.3 % scatter over seeds), gain to 1 %; the peak of |R| is at f_n sqrt(1 - 2 zeta^2) = 13.2974 Hz to 0.01 Hz (a third of a bin), the half-power damping to 5 %passed

    fit.f_n_Hz{"value": 13.3, "rel_tol": 0.001}
    fit.zeta{"value": 0.014, "rel_tol": 0.03}
    fit.gain{"value": 0.93, "rel_tol": 0.01}
    peak_frequency_Hz13.2974 ± 0.0113.2938locked36 % of the tolerance used
    half_power_zeta0.014 ± 0.00070.0143611locked52 % of the tolerance used
    coherence_at_peak≥ 0.980.989867lockedinside the range
    base_rms_mps20.3 ± 3e-100.3lockedunder 0.01 % of the tolerance used
  2. r0002random, f_n 18 Hz, zeta 0.03, gain 1.2, with sensor noise 0.2 m/s^2 RMS on the response: fit f_n to 1e-3, zeta to 3 %, gain to 1 %; half-power damping to 5 %passed

    fit.f_n_Hz{"value": 18.0, "rel_tol": 0.001}
    fit.zeta{"value": 0.03, "rel_tol": 0.03}
    fit.gain{"value": 1.2, "rel_tol": 0.01}
    half_power_zeta0.03 ± 0.00150.0301199locked8 % of the tolerance used
  3. r0003chirp 10 -> 16 -> 10 Hz at 1.17 Hz/min, 0.17 m/s^2 amplitude, on the same oscillator (exact lsim response): the frequency measured from the base turns at 16 Hz (to 0.01 Hz) and sweeps at 1.17 Hz/min (to 0.2 %); the base RMS is 0.17/sqrt(2) (to 1e-3); at 10.475 Hz, away from resonance, the relative displacement is the steady-state |R| A = 0.059525 mm (to 0.3 %); the mean of the up and down peaks is at 13.2974 Hz (to 0.02 Hz) and the peaks are the steady-state 0.80864 mm to 2 % (a finite sweep rate lowers and shifts them: about 1 % here); no jumppassed

    f_max_Hz16 ± 0.0115.9963locked37 % of the tolerance used
    sweep_rate_Hz_per_min1.17 ± 0.00231.17locked0.08 % of the tolerance used
    base_rms_mps20.120208 ± 0.000120.120208lockedunder 0.01 % of the tolerance used
    probe.up_10p5.rel_disp_amp_mm{"value": 0.05952534, "rel_tol": 0.003}
    peak_mean_Hz13.2974 ± 0.0213.3locked13 % of the tolerance used
    up.peak_mm{"value": 0.808637, "rel_tol": 0.02}
    down.peak_mm{"value": 0.808637, "rel_tol": 0.02}
    jump_up_Hz= lockedexact match
    jump_down_Hz= lockedexact match
  4. r0004a prescribed envelope with jumps (relative displacement 1.0 mm below 14.2 Hz on the way up, 0.3 mm above; on the way down 0.3 mm above 13.6 Hz, 1.0 mm below): the jumps located to one bin (0.05 Hz), the amplitudes either side to 1e-3passed

    jump_up_Hz14.2 ± 0.0514.2lockedunder 0.01 % of the tolerance used
    jump_down_Hz13.6 ± 0.0513.6lockedunder 0.01 % of the tolerance used
    up.peak_mm{"value": 1.0, "rel_tol": 0.001}
    up.jump_to_mm{"value": 0.3, "rel_tol": 0.001}
    down.jump_to_mm{"value": 1.0, "rel_tol": 0.001}
    down.jump_from_mm{"value": 0.3, "rel_tol": 0.001}
  5. r0005stepped sine at 13 Hz, four levels of 10 s (0.05, 0.1, 0.2, 0.4 m/s^2 RMS, 0.2 s ramps) on the same oscillator (exact lsim response, transients included): four levels found, the frequency to 0.002 Hz, level 3's base RMS to 1e-3 and its relative displacement the steady-state |R(13 Hz)| A = 0.71979 mm to 0.5 % (the transient left after dropping 40 % of the level decays to under 1 %)passed

    levels= 44lockedexact match
    frequency_Hz13 ± 0.00213locked0.16 % of the tolerance used
    steps.l03.base_accel_rms_mps2{"value": 0.2, "rel_tol": 0.001}
    steps.l03.rel_disp_amp_mm{"value": 0.71978843, "rel_tol": 0.005}
5 of 5 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
kindrandom: broadband (H1 and coherence); sweep: a slow sine sweep up and down; stepped: a fixed sine at increasing levels.
dataA CSV time series, e.g. @rNNNN/01_random.csv from bench import: a time column and two accelerations.
syntheticInstead of data, a test signal generated here with a known answer: {signal: random|chirp|envelope|steps, f_n_Hz, zeta, gain, ...} (see run.py).
time_columntime_s
base_columnacc_base_ms2The base acceleration, m/s^2.
response_columnacc_tip_ms2The response (absolute) acceleration, m/s^2.
nperseg32768random: samples per Welch segment. The Hann main lobe (1.5/T) must be well under the resonance's half-power bandwidth or the peak is smoothed and the damping read high.
overlap10.75
f_lo_HzHz2random: the band written to frf.csv.
f_hi_HzHz40
peak_search_HzHzrandom: [low, high] where the peak is looked for (default the written band).
fit_halfwidth_HzHzrandom: the single-mode fit uses the peak +- this (default 4 half-power bandwidths, at least 8 bins).
highpass_HzHz3random: the relative acceleration is integrated twice above this frequency.
gap_check_mmmm0.5random: the share of time the relative displacement spends beyond this is reported.
bandpass_HzHz[3, 40]sweep, stepped: the band the base is filtered to before its phase is taken.
freq_window_ss1.0sweep, stepped: the instantaneous frequency is the slope of a least-squares line through the phase over this window.
edge_ss2.0sweep: dropped at each end of the record (filter and phase edge effects).
bin_HzHz0.05sweep: the width of each frequency bin.
jump_ratio11.25sweep: adjacent bins whose relative displacement differs by more than this factor are a jump.
label_range_HzHzsweep: the range a label claims; a warning says when the measured frequency disagrees.
probe_HzHzsweep: frequencies whose bins are reported as readings (probe.up_10p5 ...).
window_ss0.5stepped: the base's RMS is taken in windows of this length.
level_change10.1stepped: a change of the base's log RMS by more than this, confirmed by the next window, starts a new level.
min_level_ss3
settle_fraction10.4stepped: the first part of each level dropped as transient.

Readings

NameUnitMeaning
kind
samples1
sample_rate_HzHz
duration_ss
base_rms_mps2m/s^2
response_rms_mps2m/s^2
nperseg1
overlap1
averages1
resolution_HzHz
peak_frequency_HzHz
peak_rel_mm_per_mps2mm/(m/s^2)
peak_transmissibility1
coherence_at_peak1
coherence_min_in_fit_band1
half_power_zeta1
half_power_HzHz
fit
window_bandwidth_ratio1
rel_disp_rms_mmmm
rel_disp_peak_mmmm
gap_check_mmmm
time_beyond_gap_fraction1
truth_peak_HzHz
order
turnaround_ss
f_min_HzHz
f_max_HzHz
sweep_rate_Hz_per_minHz/min
up
down
jump_up_HzHz
jump_down_HzHz
peak_mean_HzHz
bins1
bin_HzHz
probe
frequency_HzHz
levels1
max_rel_disp_mmmm
steps
synthetic
warnings
ok
frf.csv
sweep.csv
steps.csv
plot.png

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call