Search for a command to run...
Cardiac Simulator v2.2 — physics-informed real-time cardiac digital twin developed by BrainPredict OÜ. VERSION HISTORY• v2.0 (March 2026): 10-compartment Windkessel ODE engine, 9-model BrainCore AI ensemble (M1–M9), 6-layer HemoBrainScore™ Sentinel, baroreflex, pharmacology PK/PD, arrhythmia engine, ECG synthesis (Bazett QTc, Weissler systolic timing), clinical PDF report, post-quantum CryptoCore (CRYSTALS-Dilithium-3 FIPS 204).• v2.1 (March 2026): Clinical Rx Engine — 9 evidence-based haemodynamic optimisation rules with physics-informed HemoBrainScore projection and safety-clamped parameter bounds.• v2.2 (25 March 2026 — this deposit): (1) rPPG webcam pulse captor — non-invasive heart rate detection via PSD of facial green channel, no-rejection architecture, adaptive EMA smoothing by SQI tier; (2) Frank-Starling descending limb in BrainCore ensemble M3 — bell-curve CO model correcting monotone-ascending error at high CVP (cardiogenic shock); (3) Inverse-Fick state-dependent SvO₂ in M4 — SvO₂ rederived each frame from current CO; (4) Speed-aware ODE stabilisation — V_LV window cap indexed on dt_step, EMA tau normalisation across all speed factors, ODE state re-seeding on captor HR transition. ARCHITECTURE• Backend: Python 3.9, FastAPI, SciPy solve_ivp (RK45), NumPy — 18 modules• Frontend: Next.js 14, React, TypeScript, Recharts — 12 components• WebSocket streaming at 40 Hz, REST API 20+ endpoints, port 8001• Tests: 82/82 automated tests passing (pytest) ALGORITHMS IMPLEMENTED (peer-reviewed references)• Suga-Sagawa time-varying elastance (Circ Res 1974)• Weissler systolic timing: LVET = max(180, 413−1.7×HR) ms (JAMA 1968)• Bazett QTc T-wave placement: QT = 0.40×√RR (Heart 1920)• Chemla mPAP: mPAP = 0.61×sPAP + 2 mmHg (Circulation 2004)• Fick oxygen delivery: CaO₂ = 1.34×Hb×SaO₂ + 0.003×PaO₂ (Fick 1870)• Malpas baroreflex setpoint (Physiol Rev 2010)• Hill PK/PD: E = Emax×Cⁿ/(EC50ⁿ+Cⁿ) (J Physiol 1910)• Ursino stochastic HRV for NSR/AF (Med Biol Eng Comput 1998)• Burkhoff-Sagawa V-A coupling (Am J Physiol 1986)• Frank-Starling descending limb: Guyton 1955; Janicki-Weber 1980 — NEW v2.2• Inverse-Fick SvO₂: SvO₂ = SaO₂ − VO₂/(CO×CaO₂×10) — NEW v2.2• rPPG PSD HR: Poh et al. Opt Express 2010; de Haan & Jeanne IEEE TBME 2013 — NEW v2.2 SCIENTIFIC SCORE: 9.1/10 (cardiologist/haemodynamicist assessment, March 2026)GIT COMMIT: 2dc9100 — branch main — 25 March 2026 IP NOTICE: All files in this deposit are the exclusive intellectual property of BrainPredict OÜ (Registry Code 17352111, Estonia). The "homme" reference patient profile is excluded from this deposit as it is third-party IP. This deposit constitutes a public date-stamped record of authorship for IP protection purposes.