Python code to calculate signal features. This code was extracted from https://github.com/malfante/AAA
Project description
NOTE: This code is a extract from https://github.com/malfante/AAA.
This code calculates the feature vector from a MSEED file to used it later for training and classification purposes.
Automatic Analysis Architecture
Welcome to this automatic classification scheme! Please carefully read the following before asking questions :)
If used, the software should be credited as follow:
Automatic Analysis Architecture, M. MALFANTE, J. MARS, M. DALLA MURA
and the original paper for which the code was developped should be cited:
Malfante, M., Dalla Mura, M., Metaxian, J. P., Mars, J. I., Macedo, O., & Inza, A. (2018). Machine Learning for Volcano-Seismic Signals: Challenges and Perspectives. IEEE Signal Processing Magazine, 35(2), 20-30.
We thank you for the respect of the authors work.
Set up and requierements needed to run the code
This code was developed under Python 3, and needs the following libraries. .
obspy>=1.1
python_speech_features
sympy
Create and activate your working environment (in a terminal session):
conda create -n aaa_features python=3.9
conda activate aaa_features
Clone the repository and install
git clone https://github.com/awacero/aaa_features.git
cd aaa_features
pip install .
Install the package aaa_features from PYPI:
pip install aaa_features
Configuration files
- the feature setting file, contained in
config_sample/features*.json
MSEED data sample
- the folder data_sample contains a MSEED file from the station EC RETU SHZ 2012-06-28
Run the code to get the features
python call_aaa_features.py
More info
If you still have questions, try running and exploring the code. The playground files are relatively easy to play with.
If you still have question, fell free to ask !
Contact: marielle.malfante@gmail.com
Project details
Release history Release notifications | RSS feed
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 aaa_features-0.2.tar.gz
.
File metadata
- Download URL: aaa_features-0.2.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 631185c44eb85ca9a16d97fe1d6c9380b8c16a031246b216e0a9079c89b7c813 |
|
MD5 | 4976896f9f043b5cba6f337094314e4a |
|
BLAKE2b-256 | 9a9416f7fb645d1c5495a18b27ea1e7c8415d5c78c88cd3cbc346148a9409ab6 |
File details
Details for the file aaa_features-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: aaa_features-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 431858ea2903237b731fb6dd10e5aec1b7f8047f7e834beb76d617ea392dd613 |
|
MD5 | 5988d571778b119ed272be11198f3cef |
|
BLAKE2b-256 | bc81732f5bc6ec4a95e20208cf791c0a3c777bf938e5f7f11240cf6db4638616 |