Skip to content

Wandas: Waveform Analysis Data Structures

Wandas is an open-source library for efficient signal analysis in Python. Wandas provides comprehensive functionality for signal processing and seamless integration with Matplotlib.

Wandas は、Pythonによる効率的な信号解析のためのオープンソースライブラリです。Wandas は、信号処理のための包括的な機能を提供し、Matplotlibとのシームレスな統合を実現しています。

Features / 機能

  • Comprehensive Signal Processing Functions: Easily perform basic signal processing operations including filtering, Fourier transforms, and STFT. 包括的な信号処理機能: フィルタリング、フーリエ変換、STFTなど、基本的な信号処理操作を簡単に実行可能。

  • Integration with Visualization Libraries: Seamlessly integrate with Matplotlib for easy data visualization. 可視化ライブラリとの統合: Matplotlibとシームレスに統合してデータを簡単に可視化可能。

  • Lazy Evaluation: Efficiently process large data using dask. 遅延評価: daskを活用した効率的な大規模データ処理。

  • Various Analysis Tools: Frequency analysis, octave band analysis, time-frequency analysis, and more. 多様な分析ツール: 周波数分析、オクターブバンド分析、時間-周波数分析など。

Usage Examples / 使用例

Loading and Visualizing Audio Files / 音声ファイルの読み込みと可視化

import wandas as wd

# Load a WAV file
# WAVファイルを読み込む
cf = wd.read_wav("path/to/file.wav")

# Display waveform and spectrogram
# 波形とスペクトログラムを表示
cf.describe()

Waveform and spectrogram display

Filtering / フィルタ処理

import wandas as wd

# Generate a test signal
# テスト信号を生成
signal = wd.generate_sin(freqs=[5000, 1000], duration=1)

# Apply low pass filter and plot FFT
# ローパスフィルタを適用し、FFTをプロット
signal.low_pass_filter(cutoff=1000).fft().plot()

Low-pass filter results

For detailed documentation and usage examples, see the Tutorial.

詳細なドキュメントや使用例については、チュートリアルをご覧ください。

Documentation Structure / ドキュメント構成

License / ライセンス

This project is released under the MIT License.

このプロジェクトは MITライセンス の下で公開されています。