Lemonergy · Studio block
Discrete pole-zero model
Builds a causal discrete filter from real-coefficient poles, zeros and gain.
- Implementation ID
native-discrete-zero-pole- Reviewed
- 2026-10-27
Behavior
H(z) = gain × ∏(z − zeroᵢ) / ∏(z − poleⱼ). The worked example connects this operation to signals in Lemonergy Studio.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
in0 | input | 1 | Input; real scalar. |
out0 | output | 1 | Output; real scalar. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Sample periodsampleTimeS | s | 0.1 | Exact sample grid period. Elapsed-time integration begins after initialization. Minimum 1e-06 |
Gainparams[0] | 1 | 1 | Configured finite numerical parameter. |
Zerostables[0] | 1 | [] | Complex roots as real, imaginary pairs. Conjugate pairs required. |
Polestables[1] | 1 | [0.5, 0] | Real, imaginary pairs. |
Initial historiestables[2] | 1 | [] | Leave empty; initial histories are zero. |
Equations and rules
H(z) = gain × ∏(z − zeroᵢ) / ∏(z − poleⱼ)
Worked example
Discrete pole-zero model — worked example
Input = 1. Output at 0 s = 0.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Outputout0 | 0 | 0 | 1 | 1e-08 |
Explore the recorded outputs
Discrete pole-zero model recorded example
Discrete pole-zero model11 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
Download the recorded samples (JSON) · Open this Studio example after release
Use in a workflow
Discrete pole-zero model — worked example
Builds a causal discrete filter from real-coefficient poles, zeros and gain.
- Discrete pole-zero model: H(z) = gain × ∏(z − zeroᵢ) / ∏(z − poleⱼ). The worked example connects this operation to signals in Lemonergy Studio.
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Proper real-coefficient transfer in z, conjugate-compatible roots, zero input/output histories.
- Shapes and element types are explicit. Values must be finite; automatic reshaping and unit conversion are not performed.
Scientific and mathematical references
These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.
- Introduction to Digital Filters with Audio Applications — Difference Equation
Julius O. Smith III · Author text, Stanford CCRMA; online edition hosted by DSPRelated · 2007
Technical reference · Causal FIR/IIR difference equations and coefficient/history conventions.
Implementation sources
This reference follows the public interface and locally verified numerical checks for an upcoming release.
Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27
docs/glossary/native-block-verification.json
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)