Education
计算细菌指数生长期的比生长速率常数:µ = ln2 ÷ t_d,或由两次计数 µ = ln(Nₜ/N₀) ÷ t(N 可为 OD₆₀₀ 换算细胞数、CFU 等任意一致单位)。同时给出每时/每天/每分钟的 µ、等效倍增时间与每小时分裂次数 k = 1/t_d。附常见基准:E. coli 在 LB 中约 20–30 min、葡萄糖基本培养基约 1 h、B. subtilis 约 26 min。来源:Monod 生长动力学、Brock 微生物生物学。仅供教学与实验规划。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/growth-rate-constant' \
-H 'Content-Type: application/json' \
-d '{"mode":"doubling","doublingTime":20,"n0":1000000,"nt":8000000,"elapsed":3,"timeUnit":"minutes","decimalPlaces":4}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/growth-rate-constant| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| mode | select | 是 | Enter a doubling time directly, or two counts with the elapsed time. |
| doublingTime | number | 是 | Doubling/generation time of the culture (doubling-time mode). |
| n0 | number | 是 | Count or density at the first time point (counts mode). |
| nt | number | 是 | Count or density at the second time point, same unit as N₀ (counts mode). |
| elapsed | number | 是 | Interval between the two counts (counts mode). |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-growth-rate-constant": {
"name": "growth-rate-constant",
"description": "计算细菌指数生长期的比生长速率常数:µ = ln2 ÷ t_d,或由两次计数 µ = ln(Nₜ/N₀) ÷ t(N 可为 OD₆₀₀ 换算细胞数、CFU 等任意一致单位)。同时给出每时/每天/每分钟的 µ、等效倍增时间与每小时分裂次数 k = 1/t_d。附常见基准:E. coli 在 LB 中约 20–30 min、葡萄糖基本培养基约 1 h、B. subtilis 约 26 min。来源:Monod 生长动力学、Brock 微生物生物学。仅供教学与实验规划。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=growth-rate-constant",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "growth-rate-constant",
"arguments": {
"mode": "doubling",
"doublingTime": 20,
"n0": 1000000,
"nt": 8000000,
"elapsed": 3,
"timeUnit": "minutes",
"decimalPlaces": 4
}
}
}有问题或反馈?请联系 [email protected]
| timeUnit | select | 是 | Unit of the doubling time or elapsed interval. |
| decimalPlaces | number | 否 | — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}