Chihiro316's recent timeline updates
沅有芷兮澧有兰,思公子兮未敢言。
Sep 3, 2024
Chihiro316

Chihiro316

V2EX member #708795, joined on 2024-09-02 19:45:19 +08:00
Today's activity rank 2650
Chihiro316's recent replies
点个赞,不过我只听网易云
我老了,看到 muse 第一时间只能想到 unintended

You could be my unintended
Choice to live my life extended
You could be the one I'll always love
8 错哦
其实年轻的时候也是的,只不过没这么明显。
3 days ago
Replied to a topic by weiyunjun › 程序员 › Gemini 4 Argon 进一步降智
啊?还有降智空间吗?
怎么天天逼近 opus 啊,就不能出个模型直接说老子就是天下第一么
结了婚管不管就由不得她们了
@ClutchBear01 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
@sl797 @hailaz

keep 的

伪代码( Ghidra 反编译,已整理)
c


// 1. 由配速估算心率(无心率设备时)
hr = estimateHR(speed);

// 2. 心率夹取到 [60, min(254, 220−年龄)]
if (hr < 254 && hr <= 220 - age && hr >= 60) keep = hr;
else keep = 65;

// 3. 分性别计算
if (sex == MALE) {
bmr = 13.75*W + 66.5 + 5.003*H; // Harris-Benedict 男
activity = (0.6309*hr - 55.0969 + 0.1988*W + 0.2017*A) / 4.184; // Keytel 男
ageTerm = 6.775*A;
} else {
bmr = 9.563*W + 655.1 + 1.85*H; // Harris-Benedict 女
activity = (0.4472*hr - 20.4022 - 0.1263*W + 0.074*A) / 4.184; // Keytel 女
ageTerm = 4.676*A;
}

restPerSec = ((bmr - ageTerm) / 1440) / 60;
rate = max(activity/60, restPerSec); // 不低于基础代谢

total += (t - tPrev) * rate; // 按时间积分


Keytel 方程 + Harris-Benedict ,是正经的运动生理学模型。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1460 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 18:19 · PVG 02:19 · LAX 11:19 · JFK 14:19
♥ Do have faith in what you're doing.