| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/scipy/signal/tests/__pycache__/ |
Upload File : |
�
d�c�9 � � � d dl Zd dlmZmZmZmZ d dlZd dlm Z
d dlmZmZm
Z
mZmZ d dlmZmZmZmZmZ G d� d� � Z G d� d � � Z G d
� d� � ZdS )� N)�assert_array_almost_equal�assert_almost_equal�assert_allclose�assert_equal)�
cont2discrete)�dlsim�ss2tf�ss2zpk�lsim2�lti)�tf2ss�impulse2�dimpulse�step2�dstepc �\ � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� ZdS )�TestC2Dc � � t j d� � }t j dd� � }t j ddgddgddgg� � }t j dgdgdgg� � }d t j d� � z }t j dd
� � }d}t ||||f|d�� � \ }} }
}}t ||� � t || � � t ||
� � t ||� � t
||� � d S )
N� �r � � �?� �?� �?� �?� ���Q�տ��)a�?g6
<S��?�zoh��method��np�eye�full�array�c2dr r )
�self�ac�bc�cc�dc�ad_truth�bd_truth�dt_requested�ad�bd�cd�dd�dts
�G/usr/lib/python3/dist-packages/scipy/signal/tests/test_cont2discrete.py�test_zohzTestC2D.test_zoh s � �
�V�A�Y�Y��
�W�V�S�
!�
!��
�X��c�{�S�#�J��d��<�
=�
=��
�X��u�s�e�e�W�-�
.�
.��$�r�v�a�y�y�0���7�6�#4�5�5���� �"�b�"�b�!1�<��N�N�N���B��B��!�(�B�/�/�/�!�(�B�/�/�/�!�"�b�)�)�)�!�"�b�)�)�)��L�"�-�-�-�-�-� c �2 � t j d� � }t j dd� � }t j ddgddgddgg� � }t j dgdgdgg� � }d t j d� � z }t j dd
� � }|}t j dgdgd
gg� � }d} t ||||f| d�� � \ }
}}}
}t ||
� � t ||� � t ||� � t ||
� � t
| |� � d S )Nr r r r r r r r r gm�����?g>.��"��?g�4�pL �?g.Ȫ�q¿�fohr r"