Skip to main content

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

Release files for zizou 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zizou 0.1.8
File Size Uploaded
zizou-0.1.8.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for zizou 0.1.8
File Interpreter ABI Platform
zizou-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / zizou-0.1.8.tar.gz

Download URL zizou-0.1.8.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
f516cd0f009eb13c6617fe20e0eb2e52b6d6e52d1f8adba176b59c649d162543
BLAKE2b-256 checksum
How to use checksums
90298b5572bf931915ce703ea1cf7ddb07d2de1e0de4055c95596890c2546610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / zizou-0.1.8-py3-none-any.whl

Download URL zizou-0.1.8-py3-none-any.whl
Size 58.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4fe451429c4a5bd4f055cf567e2b3e46d195d3402a227b25176e133eb5a88f7
BLAKE2b-256 checksum
How to use checksums
fcccb5cb55c0a1197f38527004c896af8051150be5352e1fdee829d5ce44e297
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page