Sigmas Frac
Keep only the fractional part of every noise value
- sigmas
- SIGMAS
Sigmas Frac does one thing: for every value in a sigma schedule, it keeps only what's after the decimal point and throws away the integer part. frac(x) = x - floor(x). Feed it a sigma of 3.7 and you get 0.7 back. It's a single mathematical operation with zero configuration - no parameters to tune, just a schedule in and a transformed schedule out.
Why this is a strange thing to do to a noise schedule
Sigma schedules are meaningful because of their magnitude - a sigma of 14.6 represents a lot more noise than a sigma of 0.03. Stripping the integer part throws that magnitude information away entirely and replaces it with something closer to a repeating pattern: any two sigmas that differ by a whole number (say 3.2 and 4.2) collapse to the exact same output (0.2). That's a lossy, cyclical transform, closer in spirit to Sigmas Fmod (which wraps values modulo a divisor) than to any of the pack's smoothing or reshaping nodes. It's one of RES4LYF's raw mathematical building blocks rather than a technique with a stated purpose.
The inputs and outputs that matter
Just one: sigmas (SIGMAS, required) - the schedule to transform. There's nothing else to set.
Output is a single SIGMAS list, the fractional part of each input value.
Should you use this?
There's no README coverage of it and I found no community discussion of anyone using it on a real generation - same story as most of this pack's exotic math corner. Because most sigma values below 1 (which is most of a typical schedule, especially toward the end) already equal their own fractional part, this node's effect is concentrated on the early, high-sigma steps, where it'll do the most damage to the schedule's actual shape. If you're exploring RES4LYF's math primitives for fun, it's here. If you want your generation to actually look better, this isn't where that gain lives - reach for a proper scheduler, beta57, or one of the pack's documented reshaping tools instead.
How to install it
- ComfyUI Manager - search "RES4LYF", install, restart.
- Manual - activate your venv,
cd ComfyUI/custom_nodes && git clone https://github.com/ClownsharkBatwing/RES4LYF,cd RES4LYF,pip install -r requirements.txt(portable builds: use the embeddedpip.exe). Restart.
Common issues & troubleshooting
Expect a schedule that no longer resembles a decreasing curve. Because values below 1 mostly pass through unchanged while anything at or above 1 gets collapsed toward a small fraction, the output can look choppy or even increase from one step to the next rather than smoothly decreasing. Run it through Sigmas Cleanup and a preview before trusting it anywhere near a real sampler.
Values that are already fractions (< 1) are effectively untouched. If you're applying this late in a schedule where sigmas are already small, don't expect much visible change - the operation only really bites on the high-sigma early steps.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| sigmas | SIGMAS | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SIGMAS | SIGMAS | — |