Python package to detect anomalies in geoscience time series data
Project description
Zizou: time-series classification tools for Geoscience
Zizou is a package to provide common tools for time-series classification in Geoscience. For example, it allows you to download seismic data from an S3 bucket or an FDSN server, compute spectrograms, and then use an Autoencoder to detect anomalies in the spectrograms.
Requirements
- xarray
- boto3
- pandas
- numpy
- scipy
- obspy
- tqdm
- xarray
- pyyaml
- tonik
Using the machine learning modules requires the following additional packages:
- scikit-learn
- pytorch
Installation
To only compute features run:
pip install -U zizou
To also use the machine learning modules run:
pip install -U "zizou[ML]"
Installation from source
Setup conda environment
cd zizou
conda env create -f environment.yml
Install package in new environment
conda activate zizou
cd zizou
pip install -e .
Run tests
To run only the quick tests:
cd zizou
pytest
To run the whole test suite:
cd zizou
pytest --runslow
Setup Jupyter notebook kernel:
conda activate zizou
python -m ipykernel install --user --name zizou
kernda -o -y /path/to/jupyter/kernels/zizou/kernel.json
To find the path of your kernel.json file you can run:
jupyter --paths
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 zizou-0.1.2.tar.gz
.
File metadata
- Download URL: zizou-0.1.2.tar.gz
- Upload date:
- Size: 22.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2aee13d58e6503f2fcd8ded40c2128c185fdab212d207042ff63718816d89d |
|
MD5 | 8c6ee0be807af23fe1d471340bbc08f4 |
|
BLAKE2b-256 | e9e5d3fdc141eb87b144980e286d086c5fa529fcb7b259c4b3cea3f1034b66f8 |
File details
Details for the file zizou-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: zizou-0.1.2-py3-none-any.whl
- Upload date:
- Size: 67.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51fd4ebcdebff5086daed65bf357581f65320f15dd5963341812c1a2305e310c |
|
MD5 | d40eb4124abd4f1d648386f68aacbef6 |
|
BLAKE2b-256 | 06b14ef124ba91ae46751b8bd920e6d4efd810b356cb38acc76426465957bd04 |