scipy.signal.zpk2ss# scipy.signal.zpk2ss(z, p, k)[source]# Zero-pole-gain representation to state-space representation Parameters z, psequenceZeros and poles. kfloatSystem gain. Returns A, B, C, DndarrayState space representation of the system, in controller canonical form.