nx_arousal_fit.nx
buildroot/runtime/nx_arousal_fit.nx
about
nx_arousal_fit.nx -- fits the perfusion time-constant tau to OBSERVED data by coarse-to-fine
sweep over the shared nx_arousal_lib objective. This is the rung that lets the twin EXCEED the
published literature instead of inheriting its ceiling: the orgasm/perfusion parameters rest on
tiny old samples (Bohlen n=11, 1982), so the honest move is to make them FITTABLE, not fixed.
Reports seed_residual alongside the fitted one so a run that did NOT improve is visible rather
than silently reported as a fit. A fitter that always claims success measures nothing.
usage: nx_arousal_fit tau <drive> <t1> <o1> <t2> <o2> [lo_ms] [hi_ms]
nx_arousal_fit selftest
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_arousal_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 13 | const F_MAGIC_4000000: i64 = 4000000 |
| 15 | const F_ROUNDS: i64 = 8 |
| 16 | const F_SAMPLES: i64 = 16 |
| 20 | const F_CI_SLACK: i64 = 1 |
| 21 | const F_LO_DEFAULT: i64 = 1000 |
| 22 | const F_HI_DEFAULT: i64 = 1000000 |
functions
| 25 | func f_scan(lo: i64, hi: i64, step: i64, drive: i64, t1: i64, o1: i64, t2: i64, o2: i64, best: *i64) -> i64 |
| 38 | func main(argc: i64, argv: *i64) -> i64 |