| 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 : |
�
d�cM4 � �x � d Z ddlmZmZmZ ddlmZmZmZm Z m
Z
mZmZm
Z
mZmZmZmZmZ ddlZddlmZmZmZmZmZmZmZmZ ddlmZ dd�Zdd �Z dd
�Z!d� Z"d� Z#dd
�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 )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_pseudo_diffs.py [<level>]
� )�assert_equal�assert_almost_equal�assert_array_almost_equal)
�diff�fft�ifft�tilbert�itilbert�hilbert�ihilbert�shift�fftfreq�cs_diff�sc_diff�ss_diff�cc_diffN)�arange�sin�cos�pi�exp�tanh�sum�sign)�random� c � � t | � � }t |� � }|�
dt z }t |� � dz t z |z |z }|dk rd||z z }d|d<