Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.35 KB

README.md

File metadata and controls

34 lines (29 loc) · 1.35 KB

csvfft

Overview

Calculate FFT result of csv formatted data, and export the result as csv.

Description

FFT is a key point of frequency anlysis, but it is bothersome to execute correctly. csvfft ables you to easily get FFT result of csv formatted data.

Sample Usage

Basic FFT

git clone https://github.com/UsukeO235/csvfft.git
cd csvfft/sample/sine_wave
python generate.py
python ../../csvfft.py --input input.csv --period 0.001 --delimiter tab --name --figure --column 2

result

Short Time Fourier Transform (STFT)

Basic STFT

git clone https://github.com/UsukeO235/csvfft.git
cd csvfft/sample/stft
python ../../csvfft.py --input input.csv --period 0.001 --delimiter tab --name --figure --column 2 --overlap 180 --frame 200 --stft

result

STFT with frequency range setting

git clone https://github.com/UsukeO235/csvfft.git
cd csvfft/sample/stft
python ../../csvfft.py --input input.csv --period 0.001 --delimiter tab --name --figure --column 2 --overlap 180 --frame 200 --stft --range 80.0 250.0

result_range