bepad 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {bepad-0.1.2 → bepad-0.1.3}/PKG-INFO +3 -1
  2. {bepad-0.1.2 → bepad-0.1.3}/README.md +2 -0
  3. {bepad-0.1.2 → bepad-0.1.3}/bepad/__init__.py +1 -1
  4. {bepad-0.1.2 → bepad-0.1.3}/bepad/plots.py +8 -10
  5. {bepad-0.1.2 → bepad-0.1.3}/bepad.egg-info/PKG-INFO +3 -1
  6. {bepad-0.1.2 → bepad-0.1.3}/pyproject.toml +1 -1
  7. {bepad-0.1.2 → bepad-0.1.3}/LICENSE +0 -0
  8. {bepad-0.1.2 → bepad-0.1.3}/bepad/__main__.py +0 -0
  9. {bepad-0.1.2 → bepad-0.1.3}/bepad/associator.py +0 -0
  10. {bepad-0.1.2 → bepad-0.1.3}/bepad/blocks.py +0 -0
  11. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/__init__.py +0 -0
  12. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/config.py +0 -0
  13. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/geo.py +0 -0
  14. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/labels.py +0 -0
  15. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/pool.py +0 -0
  16. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/release.py +0 -0
  17. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/utdquake.py +0 -0
  18. {bepad-0.1.2 → bepad-0.1.3}/bepad/build/windows.py +0 -0
  19. {bepad-0.1.2 → bepad-0.1.3}/bepad/data.py +0 -0
  20. {bepad-0.1.2 → bepad-0.1.3}/bepad/leaderboard.py +0 -0
  21. {bepad-0.1.2 → bepad-0.1.3}/bepad/metrics.py +0 -0
  22. {bepad-0.1.2 → bepad-0.1.3}/bepad/stats.py +0 -0
  23. {bepad-0.1.2 → bepad-0.1.3}/bepad/torch.py +0 -0
  24. {bepad-0.1.2 → bepad-0.1.3}/bepad.egg-info/SOURCES.txt +0 -0
  25. {bepad-0.1.2 → bepad-0.1.3}/bepad.egg-info/dependency_links.txt +0 -0
  26. {bepad-0.1.2 → bepad-0.1.3}/bepad.egg-info/entry_points.txt +0 -0
  27. {bepad-0.1.2 → bepad-0.1.3}/bepad.egg-info/requires.txt +0 -0
  28. {bepad-0.1.2 → bepad-0.1.3}/bepad.egg-info/top_level.txt +0 -0
  29. {bepad-0.1.2 → bepad-0.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bepad
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: BEPAD: a benchmark dataset for seismic phase association built from UTDQuake
5
5
  License-Expression: GPL-3.0-or-later
6
6
  Project-URL: Documentation, https://bepad.readthedocs.io
@@ -51,6 +51,8 @@ for w in test: # one window = one association
51
51
  report = bepad.evaluate(predictions, test) # score your associator
52
52
  ```
53
53
 
54
+ Try it in Colab, nothing to install: [get the data](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/01_get_the_data.ipynb) · [benchmark your associator](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/02_benchmark.ipynb) · [train a model](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/03_train.ipynb).
55
+
54
56
  Share your associator and get on the leaderboard in four commands:
55
57
 
56
58
  ```bash
@@ -20,6 +20,8 @@ for w in test: # one window = one association
20
20
  report = bepad.evaluate(predictions, test) # score your associator
21
21
  ```
22
22
 
23
+ Try it in Colab, nothing to install: [get the data](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/01_get_the_data.ipynb) · [benchmark your associator](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/02_benchmark.ipynb) · [train a model](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/03_train.ipynb).
24
+
23
25
  Share your associator and get on the leaderboard in four commands:
24
26
 
25
27
  ```bash
@@ -6,7 +6,7 @@
6
6
  class MyMethod(bepad.Associator): ... # template for reusable associators
7
7
  """
8
8
 
9
- __version__ = "0.1.2"
9
+ __version__ = "0.1.3"
10
10
 
11
11
  from .data import CORE_NAME, CORE_NETWORKS, LABEL_COLUMNS, Release, Split, download, load, open, predictions_frame # noqa: E402,A004
12
12
  from .metrics import evaluate # noqa: E402
@@ -31,16 +31,14 @@ from __future__ import annotations
31
31
 
32
32
  from pathlib import Path
33
33
 
34
- import matplotlib
35
-
36
- matplotlib.use("Agg")
37
- import matplotlib.pyplot as plt # noqa: E402
38
- import numpy as np # noqa: E402
39
- import pandas as pd # noqa: E402
40
- from matplotlib.colors import LinearSegmentedColormap, Normalize # noqa: E402
41
- from matplotlib.lines import Line2D # noqa: E402
42
-
43
- from .build.geo import haversine_km # noqa: E402
34
+ import matplotlib # no backend is forced: figures show in notebooks, and matplotlib uses Agg without a display
35
+ import matplotlib.pyplot as plt
36
+ import numpy as np
37
+ import pandas as pd
38
+ from matplotlib.colors import LinearSegmentedColormap, Normalize
39
+ from matplotlib.lines import Line2D
40
+
41
+ from .build.geo import haversine_km
44
42
 
45
43
  # Validated categorical order (dataviz reference palette); events cycle with their index printed.
46
44
  SERIES = ["#2a78d6", "#eb6834", "#1baf7a", "#eda100", "#e87ba4", "#008300", "#4a3aa7", "#e34948"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bepad
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: BEPAD: a benchmark dataset for seismic phase association built from UTDQuake
5
5
  License-Expression: GPL-3.0-or-later
6
6
  Project-URL: Documentation, https://bepad.readthedocs.io
@@ -51,6 +51,8 @@ for w in test: # one window = one association
51
51
  report = bepad.evaluate(predictions, test) # score your associator
52
52
  ```
53
53
 
54
+ Try it in Colab, nothing to install: [get the data](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/01_get_the_data.ipynb) · [benchmark your associator](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/02_benchmark.ipynb) · [train a model](https://colab.research.google.com/github/ecastillot/BEPAD/blob/main/notebooks/03_train.ipynb).
55
+
54
56
  Share your associator and get on the leaderboard in four commands:
55
57
 
56
58
  ```bash
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bepad"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "BEPAD: a benchmark dataset for seismic phase association built from UTDQuake"
9
9
  readme = "README.md"
10
10
  license = "GPL-3.0-or-later"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes