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.0.9.tar.gz
.
File metadata
- Download URL: zizou-0.0.9.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f35474336b6d50c2814199b5b3144f8715df17916eed09e917a0051d77be2b5 |
|
MD5 | b114e0b34e3114586815c63bac898b61 |
|
BLAKE2b-256 | 05dee051ce63d419681030677776c79be1297c84b3bc84ae69cbc93262f22dd5 |
File details
Details for the file zizou-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: zizou-0.0.9-py3-none-any.whl
- Upload date:
- Size: 56.7 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 | 77f05fe10461cf61f07ca2301a282c63f70be7a16a9c1b7c92dc5a0571118ead |
|
MD5 | 701255ddfc063aa8698adacc3e8cbb5a |
|
BLAKE2b-256 | 8d6d85bb38dbe32cf81880cce0e0745208b8a73355ed62e1e6f058cbf9877a7d |