code wiki / _hdl_build / nx_biotwin_morphometrics.nx

nx_biotwin_morphometrics.nx

buildroot/runtime/_hdl_build/nx_biotwin_morphometrics.nx

7763 B131 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic biotwin
docsdependenciesstructsconstsfunctions

about

nx_biotwin_morphometrics.nx -- BIOTWIN rung-1 ORGAN: derive the morphometric axes from the visualise-body substrate, emit a provenance-carrying evidence artifact for board axis 8 (morphometric-derivation, COU-1). Composes nx_bodyatlas ba_sdf (the sovereign integer SDF being -- QOI[0] visualise-own-body substrate, 833). For each derived axis it emits: value, the TRANSFORM that produced it, the INPUT landmarks it consumed, the input measurement resolution, the banked canon band, and whether it lands in band. Plus cross-body generalisation (the same engine on 3 body presets), a determinism witness, and the rule-26 promotion fence. HONEST: this is the DERIVATION TRANSFORM only. Image-space photogrammetry-capture (axis 6) and anatomical- landmarking (axis 7) remain GAP, so the "derive morphometrics from a scan" QOI stays capped. No output of this organ may inform a decision about a real person. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_biotwin_morpho.nx nx_biotwin_morphometrics.nx

imports: nx_syscalls.nxnx_biotwin_morpho.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap bm_derive sys_mmap ↻ bm_measure atlas_hand_curl atlas_build ba_add sys_mmap ↻ ba_axis_x ba_ax_defaults ba_is_arm ba_is_leg ba_axis_y ba_ax_defaults ↻ ba_is_arm ↻ ba_knee_y ba_max it_sin4096 it_cos4096 it_sin4096 ↻ ba_rig_setup sys_mmap ↻ ba_ax_defaults ↻ ba_nin atlas_sync_pose it_sin4096 ↻ it_cos4096 ↻ sys_mmap ↻ ba_fwd_fk atlas_pose atlas_sync_pose ↻ mo_scan_down ba_sdf ba_part_sdf ba_isqrt ba_min ba_smin mo_scan_up ba_sdf ↻

structs

none

consts

15const K_MAGIC_262144: i64 = 262144

functions

17func ocat(o: *u8, at: i64, s: *u8) -> i64 { var i: i64=0; var a: i64=at; while s[i]!=(0 as u8){o[a]=s[i]; a=a+1; i=i+1} return a }
called by 1: main
18func onum(o: *u8, at: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
28func heads_of(LM: *i64) -> i64
called by 1: main
35func main() -> i64