Questions tagged [fftpack]

FFTPACK is a package of Fortran subprograms for the fast Fourier transform of periodic and other symmetric sequences. It includes complex, real, sine, cosine, and quarter-wave transforms. Much of the package is also available in a C, Fortran, and Java translation.

FFTPACK is a package of Fortran subprograms for the fast Fourier transform of periodic and other symmetric sequences. It includes complex, real, sine, cosine, and quarter-wave transforms. Much of the package is also available in a C, Fortran, and Java translation.

21 questions
0
votes
1 answer

Segmentation fault with fftpack

I'm trying to use the fftpack (specifically rffti.f, rffti1.f, rfftf.f, rfftf1.f, radf4.f, radf2.f, radf3.f, radf5.f, radfg.f) downloaded from https://www.netlib.org/fftpack/index.html with this test code: program test implicit…
user
  • 309
  • 1
  • 9
0
votes
1 answer

scipy.fftpack's FFT freezing

When computing a FFT of an array of size ~ 1.5 million items: import numpy as np from scipy.fftpack import fft x0 = np.ones(1492828, dtype=np.int32) fft(x0) print 'hello' the FFT computation never finishes, and the program is freezing. If I change…
Basj
  • 41,386
  • 99
  • 383
  • 673
0
votes
1 answer

How to do FFT on signal of different period

I need to perform FFT on gait signals that are not strictly periodic. Below is the code I created for double and single sided. However, I do not know if it is right as the signal is not strictly periodic -- people walk differently every step. If I…
Sarah
  • 1
0
votes
4 answers

MATLAB fftfilt equivalent for Python

I am trying to traslate the following function created in MATLAB into Python, function output_phase = fix_phasedata180(phase_data_degrees, averaging_length) x = exp(sqrt(-1)*phase_data_degrees*2/180*pi); N = averaging_length; b =…
nandhos
  • 681
  • 2
  • 16
  • 31
0
votes
0 answers

order of output in scipy.fftpack.fft2

I have three columns of data I read in, so that I have an N by 3 array; first two columns are x and y, spatial, and the third is a value delta. I want to get the 2-dimensional Fast Fourier Transform of this data so, having the N by 3 array data I…
user37460
  • 1
  • 2
0
votes
0 answers

JFFTPack - get frequency

For those of you that have used jfftpack, is there a way to calcuate the frequency from the information recieved from it's RealDoubleFFT.ft() command? It produces a wave table that can be used to graph the fft, but I need to get the frequency from…
1
2