| 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/fft/tests/__pycache__/ |
Upload File : |
�
d�c � �( � d dl Zd dlZd dlZdZd� ZdS )� Na�
import pytest
import numpy as np
from numpy.testing import assert_allclose
import scipy
import sys
import pytest
np.random.seed(1234)
x = np.random.randn(10) + 1j * np.random.randn(10)
X = np.fft.fft(x)
# Callable before scipy.fft is imported
with pytest.deprecated_call(match=r'2\.0\.0'):
y = scipy.ifft(X)
assert_allclose(y, x)
# Callable after scipy.fft is imported
import scipy.fft
with pytest.deprecated_call(match=r'2\.0\.0'):
y = scipy.ifft(X)
assert_allclose(y, x)
c �� � t j t j dt g� � ddlm} t | � � rJ �| j dk sJ �ddlm } |j
t j j u sJ �d S )Nz-cr )�fftz scipy.fft)�ifft)�
subprocess�
check_call�sys�
executable� TEST_BODY�scipyr �callable�__name__r �__wrapped__�np)r r s �C/usr/lib/python3/dist-packages/scipy/fft/tests/test_fft_function.py�test_fft_functionr s� � �
��3�>�4��;�<�<�<� ��������}�}�����<�;�&�&�&�&���������r�v�{�*�*�*�*�*�*� )�numpyr r r r
r � r r �<module>r sF �� � � � � � � � �
�
�
�
�
� �0
+�
+�
+�
+�
+r