pickagm 0.1.0__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.
- pickagm-0.1.0/DATA_LICENCES.md +88 -0
- pickagm-0.1.0/LICENSE +674 -0
- pickagm-0.1.0/PKG-INFO +163 -0
- pickagm-0.1.0/README.md +130 -0
- pickagm-0.1.0/pyproject.toml +119 -0
- pickagm-0.1.0/setup.cfg +4 -0
- pickagm-0.1.0/setup.py +4 -0
- pickagm-0.1.0/src/pickagm/__init__.py +0 -0
- pickagm-0.1.0/src/pickagm/avgSA.py +164 -0
- pickagm-0.1.0/src/pickagm/contexts.py +51 -0
- pickagm-0.1.0/src/pickagm/corrmodels.py +455 -0
- pickagm-0.1.0/src/pickagm/data/ESM_flatfile_SA.csv +4 -0
- pickagm-0.1.0/src/pickagm/dfops.py +129 -0
- pickagm-0.1.0/src/pickagm/distributions.py +493 -0
- pickagm-0.1.0/src/pickagm/eqdbases.py +160 -0
- pickagm-0.1.0/src/pickagm/im_corr_data/clemett_corr_coeffs.hdf5 +0 -0
- pickagm-0.1.0/src/pickagm/interpolate.py +244 -0
- pickagm-0.1.0/src/pickagm/selection.py +301 -0
- pickagm-0.1.0/src/pickagm/typing.py +10 -0
- pickagm-0.1.0/src/pickagm.egg-info/PKG-INFO +163 -0
- pickagm-0.1.0/src/pickagm.egg-info/SOURCES.txt +23 -0
- pickagm-0.1.0/src/pickagm.egg-info/dependency_links.txt +1 -0
- pickagm-0.1.0/src/pickagm.egg-info/requires.txt +14 -0
- pickagm-0.1.0/src/pickagm.egg-info/top_level.txt +1 -0
- pickagm-0.1.0/tests/test_installed_package.py +170 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Data credits and licences
|
|
2
|
+
|
|
3
|
+
The pickagm source code is licensed under GPL-3.0-or-later (see `LICENSE`).
|
|
4
|
+
The repository also holds three data files. This file says where each one
|
|
5
|
+
comes from, under which licence it is shared, and whether it is installed
|
|
6
|
+
with the package.
|
|
7
|
+
|
|
8
|
+
| File (under `src/pickagm/`) | Installed with the package? | Licence |
|
|
9
|
+
|---|---|---|
|
|
10
|
+
| `data/ESM_flatfile_SA.csv` | Yes | CC BY 4.0 |
|
|
11
|
+
| `im_corr_data/clemett_corr_coeffs.hdf5` | Yes | GPL-3.0-or-later |
|
|
12
|
+
| `im_corr_data/BB17.csv` | No (repository only) | MIT |
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 1. ESM flatfile: `data/ESM_flatfile_SA.csv`
|
|
17
|
+
|
|
18
|
+
This is the Engineering Strong Motion (ESM) flatfile published by the
|
|
19
|
+
Istituto Nazionale di Geofisica e Vulcanologia (INGV) in 2018, converted
|
|
20
|
+
from semicolon-separated to comma-separated values. The values themselves
|
|
21
|
+
are unchanged.
|
|
22
|
+
|
|
23
|
+
- **Licence:** Creative Commons Attribution 4.0 International (CC BY 4.0),
|
|
24
|
+
<https://creativecommons.org/licenses/by/4.0/>.
|
|
25
|
+
- **Dataset:** Lanzano, G., Luzi, L., Russo, E., Felicetta, C., D'Amico,
|
|
26
|
+
M. C., Sgobba, S., and Pacor, F. (2018). *Engineering Strong Motion
|
|
27
|
+
Database (ESM) flatfile* [Data set]. Istituto Nazionale di Geofisica e
|
|
28
|
+
Vulcanologia (INGV). <https://doi.org/10.13127/esm/flatfile.1.0>
|
|
29
|
+
- **Paper describing it:** Lanzano, G., Sgobba, S., Luzi, L., Puglia, R.,
|
|
30
|
+
Pacor, F., Felicetta, C., D'Amico, M., Cotton, F., and Bindi, D. (2019).
|
|
31
|
+
The pan-European Engineering Strong Motion (ESM) flatfile: compilation
|
|
32
|
+
criteria and data statistics. *Bulletin of Earthquake Engineering*,
|
|
33
|
+
17(2), 561–582. <https://doi.org/10.1007/s10518-018-0480-z>
|
|
34
|
+
|
|
35
|
+
If you use results that depend on this file, please cite the dataset and
|
|
36
|
+
the paper above.
|
|
37
|
+
|
|
38
|
+
## 2. Correlation coefficients: `im_corr_data/clemett_corr_coeffs.hdf5`
|
|
39
|
+
|
|
40
|
+
Empirical correlation coefficients between ground-motion intensity
|
|
41
|
+
measures for four European tectonic settings (active shallow crust,
|
|
42
|
+
subduction interface, subduction slab and Vrancea), used by the
|
|
43
|
+
`ClemettCorrelationModel*` classes in `pickagm.corrmodels`. They come from
|
|
44
|
+
the correlation model of Clemett and Gündel (paper in preparation).
|
|
45
|
+
|
|
46
|
+
This file holds the original coefficients of that model. A later release
|
|
47
|
+
of pickagm will replace them.
|
|
48
|
+
|
|
49
|
+
- **Licence:** distributed under the package licence, GPL-3.0-or-later.
|
|
50
|
+
|
|
51
|
+
## 3. Baker and Bradley (2017) correlations: `im_corr_data/BB17.csv`
|
|
52
|
+
|
|
53
|
+
Correlation coefficients from Baker and Bradley (2017), as published in the
|
|
54
|
+
GitHub repository <https://github.com/bakerjw/NGAW2_correlations>.
|
|
55
|
+
|
|
56
|
+
This file is kept in the source repository only. **It is not installed with
|
|
57
|
+
the package**, because no pickagm module reads it.
|
|
58
|
+
|
|
59
|
+
- **Paper:** Baker, J. W., and Bradley, B. A. (2017). Intensity measure
|
|
60
|
+
correlations observed in the NGA-West2 database, and dependence of
|
|
61
|
+
correlations on rupture and site parameters. *Earthquake Spectra*, 33(1),
|
|
62
|
+
145–156. <https://doi.org/10.1193/060716EQS095M>
|
|
63
|
+
- **Licence:** MIT. The copyright and permission notice of the source
|
|
64
|
+
repository, copied verbatim:
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
The MIT License (MIT)
|
|
68
|
+
|
|
69
|
+
Copyright (c) 2016 Jack Baker
|
|
70
|
+
|
|
71
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
72
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
73
|
+
in the Software without restriction, including without limitation the rights
|
|
74
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
75
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
76
|
+
furnished to do so, subject to the following conditions:
|
|
77
|
+
|
|
78
|
+
The above copyright notice and this permission notice shall be included in all
|
|
79
|
+
copies or substantial portions of the Software.
|
|
80
|
+
|
|
81
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
82
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
83
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
84
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
85
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
86
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
87
|
+
SOFTWARE.
|
|
88
|
+
```
|