> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SamplingPercentToSigma - ComfyUI Built-in Node Documentation

> SamplingPercentToSigma 节点使用模型的采样参数将采样百分比值转换为相应的 sigma 值。

SamplingPercentToSigma 节点使用模型的采样参数将采样百分比值转换为相应的 sigma 值。它接受介于 0.0 和 1.0 之间的百分比值，并将其映射到模型噪声调度中对应的 sigma 值，同时提供选项以返回计算出的 sigma 值或边界处的实际最大/最小 sigma 值。

## 输入

| 参数             | 描述                                                      | 数据类型    | 必需 | 范围                       |
| -------------- | ------------------------------------------------------- | ------- | -- | ------------------------ |
| `模型`           | 包含用于转换的采样参数的模型                                          | MODEL   | 是  | -                        |
| `采样百分比`        | 要转换为 sigma 的采样百分比（默认：0.0）                               | FLOAT   | 是  | 0.0 到 1.0 (step: 0.0001) |
| `返回实际 sigma 值` | 返回实际 sigma 值，而不是用于区间检查的值。这仅影响 0.0 和 1.0 时的结果。（默认：False） | BOOLEAN | 是  | -                        |

当启用 `return_actual_sigma` 时，`sampling_percent` 为 0.0 会返回模型的最大 sigma 值（sigma\_max），`sampling_percent` 为 1.0 会返回最小 sigma 值（sigma\_min）。对于所有其他百分比，无论是否启用该选项，结果都相同。

## 输出

| 输出名称      | 描述                      | 数据类型  |
| --------- | ----------------------- | ----- |
| `sigma 值` | 与输入采样百分比对应的转换后的 sigma 值 | FLOAT |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SamplingPercentToSigma/zh.md)

***

**Source fingerprint (SHA-256):** `30decf1d4804accbdf2a70eba1a773b41ef0e09cfb74f2a9388044dadf0a1ac1`
