import numpy as npimport matplotlib.pyplot as pltimport tkinter as tkfrom tkinter import ttkfrom tkinter import filedialogdef perform_fourier_transform(signal_freq, sampling_rate, save_result=False, output_filename="fft_result.png"): # 샘플링 시간 생성 t = np.linspace(0, 1, sampling_rate, endpoint=False) # 입력 신호 생성 (사인파) signal = np.sin(2 * np.pi * signal_freq * t) # 푸리에 변환 수행 ..