← Back
Editing: test_dltisys.cpython-311.pyc
� d�c6T � �F � d dl Zd dlmZmZmZmZmZmZm Z d dl mZ d dl mZmZmZmZmZmZmZmZmZmZmZmZ G d� d� � Z G d� d� � Z G d � d � � Z G d� d� � Z G d � d� � Z G d� d� � Z G d� d� � Z G d� d� � Z!dS )� N)�assert_equal�assert_array_almost_equal�assert_array_equal�assert_allclose�assert_�assert_almost_equal�suppress_warnings)�raises)�dlsim�dstep�dimpulse�tf2zpk�lti�dlti� StateSpace�TransferFunction�ZerosPolesGain� dfreqresp�dbode�BadCoefficientsc �8 � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z dS ) �TestDLTIc � � t j ddgddgg� � }t j g d�g d�g� � }t j ddgg� � }t j g d�g� � }d}t j t j d d d�� � d d �t j f t j d d� � t j d d� � f� � }t j d dd�� � }t j g d�g� � j }t j d d gddgddgddgddgg� � } t |||||f||� � \ } }}t ||� � t | |� � t || � � t dd� � |d dgd d �f } t j ddg� � }t |||||f| |� � \ } }}t ||� � t | |� � t t | � � |j d � � t j ddg� � }t j g d�� � }t j g d �g� � j }t ||df|d d �d f |� � \ } }t ||� � t || � � t j |d d �d f � � }|� d!� � }t ||df||� � \ } }t ||� � t || � � t j dd"g� � }t j d#t j d$� � z d%t j d$� � z g� � }d}t j g d&�g� � j }t |||df|d d �d f |� � \ } }t ||� � t || � � t d'gd'd'g� � }t! t"