Miscellaneous Utilities and libraries
Project description
Wave Cracker
Abstract
Wave Cracker
Python batch tool for signal time/frequency analysis (input data: CSV or audio files).
Detailed documentation: here
This project was formerly known as bytecrafters
Installation
You can install the package using pip:
python -m pip install wavecracker
Python Dependencies
-
Python: >= 3.7 (preferably: > 3.8 and < 3.12, ref. documentation for additional details)
-
numpy >= 1.23.5
-
PyYAML >= 6.0
-
pandas >= 2.0.1
-
chardet >= 4.0.0
-
scipy >= 1.10.1
-
matplotlib >= 3.7.1
Optionally (for wavelet transform):
- PyWavelets >= 1.4.1
Optionally (for audio file processing):
- pydub >= 0.25.1
- moviepy >= 1.0.3
Optionally (for hardware detailed diagnostics upon boot):
- psutil >= 5.9.5
Installing extras
The following commands allow the installation of the extras correspondent to the optional dependencies above mentioned:
python -m pip install wavecracker[wavelet]
python -m pip install wavecracker[audio]
python -m pip install wavecracker[hwdiagnostics]
Note that some of these extras may or may not work depending on the Python version. More information in the documentation.
Other Dependencies
The following directory are needed in the PATH
:
PYTHON_HOME
andPYTHON_HOME/Scripts
- The directory containing the FFMPEG executable (6.0 or upper; note, needed only for audio files processing)
Usage
Assuming ${PACKAGE_HOME}
is where the package is available after the install (typically under ${PYTHON_HOME}/Lib/site-packages/wavecracker
or alike),
enter the following command from a command shell:
python "${PACKAGE_HOME}/signalanalyzer.py" <parameters>
Example (CSV file processing)
... .. /signalanalyzer.py --input-path ./inputdata.csv --qplot time_1 signal_1 --include-histogram --out-directory ./out
Explanation: This would process a csv file named inputdata.csv, placed in the current directory, looking for a header with columns named 'time_1' and 'signal_1', saving the results into a subdirectory of the current directory named 'out'. Plots typically generated are Fourier Transform and others. Also, a CSV of the Fourier Transform is saved. Note: the destination directories need to be existing. Also: a directory named 'logs' has to be created in the current directory for the logs to be saved.
Many other details about the available flags and parameters can be found in the documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wavecracker-8.4.0.tar.gz
.
File metadata
- Download URL: wavecracker-8.4.0.tar.gz
- Upload date:
- Size: 81.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc4a1d6e9fb7b3e1e23f3fdcab40a78cefd7309ff382ba5a9300c06914db37ec |
|
MD5 | 594c43c75d65386d7cec7751f83a0c0c |
|
BLAKE2b-256 | 5838f775e68f647dc9791183796a64fcad256a9f0b3cdcd6fc454d793de6efd6 |
File details
Details for the file wavecracker-8.4.0-py3-none-any.whl
.
File metadata
- Download URL: wavecracker-8.4.0-py3-none-any.whl
- Upload date:
- Size: 81.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 849e37235e5aab54062cb2360b12f8b9288da3b96bbd25eb820e4297b90259cd |
|
MD5 | 6b10dadf8ef0e67579bd49877d6a904e |
|
BLAKE2b-256 | 3d3e24614bfe8a4b3e82249a7c9a8b397ba96730b733bf4fa655f06e0987fddb |