scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturnsBackRef
_align_nums(nums)

Given an array of numerator coefficient arrays [[a_1, a_2,..., a_n],..., [b_1, b_2,..., b_m]], this function pads shorter numerator arrays with zero's so that all numerators have the same length. Such alignment is necessary for functions like 'tf2ss', which needs the alignment when dealing with SIMO transfer functions.

Parameters

nums: array_like :

Numerator or list of numerators. Not necessarily with same length.

Returns

nums: array

The numerator. If nums input was a list of numerators then a 2-D array with padded zeros for shorter numerators is returned. Otherwise returns np.asarray(nums) .

Aligns the shapes of multiple numerators.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.signal._filter_design._align_nums

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/signal/_filter_design.py#1606
type: <class 'function'>
Commit: